Deny direct access to theme PHP files? #366
jmcintyresage
started this conversation in
Ideas
Replies: 1 comment
-
Yes, this seems to be a good idea. Created an issue from this discussion #367 to track this. Do you want to create a PR? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Shortly after public launch, one of our Bootscore-based sites started getting hit with requests for the base theme's index.php and search.php files, resulting in fatal PHP errors because get_header() wasn't defined.
Would the developers consider adding code that would deny direct access to the base theme's PHP files? Something as simple as:
Respectfully,
JIm
Beta Was this translation helpful? Give feedback.
All reactions