wordpress-theme-boilerplate
wordpress-theme-boilerplate copied to clipboard
Remove `Exit if accessed directly` checks from Woo theme template files
All templates have this at the top of them:
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
We should remove them all. It's redundant, and seems to pose no risk if the host is secure.