You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by jmcintyresage January 18, 2023
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:
// Stop if this file is called directly
defined( 'ABSPATH' ) || exit;
Discussed in #366
Originally posted by jmcintyresage January 18, 2023
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
Theme
template-parts
Plugins
The text was updated successfully, but these errors were encountered: