1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-05-08 06:13:15 +03:00

changing what happens when the plugin is accessed directly

related #48
This commit is contained in:
Tom McFarlin 2013-05-15 10:00:38 -04:00
parent a289b607a3
commit cf9fdceac3

View file

@ -25,8 +25,8 @@
*/
// If this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) {
exit;
if ( ! defined( 'WPINC' ) ) {
die;
}
// TODO: replace `class-plugin-boilerplate.php` with the name of the actual plugin's class file