1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-05-19 19:52:12 +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 this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) { if ( ! defined( 'WPINC' ) ) {
exit; die;
} }
// TODO: replace `class-plugin-boilerplate.php` with the name of the actual plugin's class file // TODO: replace `class-plugin-boilerplate.php` with the name of the actual plugin's class file