Closed nlemoine closed 8 years ago
Some weird characters are printed on every page (front and admin). Digging further, I noticed the content of .DS_Store was displayed. Looks like dot files are also parsed in directories: https://github.com/wp-papi/papi/blob/master/src/lib/core/io.php#L54-L64
.DS_Store
Skip dot files when parsing directories.
Thanks, never thought of this since I don't have dot files in the same folder as page types.
Never had before either. Thanks for the fix! 👍
Bug description
Some weird characters are printed on every page (front and admin). Digging further, I noticed the content of
.DS_Store
was displayed. Looks like dot files are also parsed in directories: https://github.com/wp-papi/papi/blob/master/src/lib/core/io.php#L54-L64What I expected
Skip dot files when parsing directories.
Steps to reproduce
What versions of softwares are you using?