pfefferle / SemPress

A highly semantic WordPress Theme with HTML5 templates, responsive and seo optimized. SemPress supports most of the new HTML5 tags, the new HTML5 input-types, microformats, microformats v2 and microdata (Schema.org).
http://wordpress.org/themes/sempress
GNU General Public License v3.0
141 stars 30 forks source link

Call to undefined function get_header() #79

Closed bekopharm closed 2 years ago

bekopharm commented 4 years ago

I'm getting an increased number of bots trying to exploit the theme by directly accessing the theme files. Mostly the 404.php

Please consider adding the if (!defined('ABSPATH')) exit; "fix" to all php files of the theme to stop direct access to script files when WP Core is not loaded.