wp-papi / papi

:rocket: WordPress Page Type API with custom fields
https://wp-papi.github.io
MIT License
263 stars 32 forks source link

Rewrites path to papi_page_type with strtolower() #176

Closed slaxxarn closed 8 years ago

slaxxarn commented 8 years ago

What I expected

To load all my page types

What happened instead

No page types loads

Steps to reproduce

Just name your theme with the first letter uppercase

Solution

papi/src/lib/types/entry.php row 193 remove strtolower() function on $file_path

What versions of softwares are you using?