Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

Include files safely in functions.php #6

Open
carlesjove opened this issue Jul 5, 2014 · 0 comments
Open

Include files safely in functions.php #6

carlesjove opened this issue Jul 5, 2014 · 0 comments
Labels

Comments

@carlesjove
Copy link
Owner

When generating files, a require {file} is added to functions.php. Also, when installing Aina to the theme. However, it's currently added at the last line, which may cause issues if the file has a closing php tag ?>.

Thus, whenever a file is included in functions.php it'd be better to simply include the file after the opening php tag. Genius, uh?

@carlesjove carlesjove added the bug label Jul 5, 2014
@carlesjove carlesjove changed the title Include files after first <?php in functions.php Include files safely in functions.php Sep 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant