File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 55 * We recommend to keep your code organized and split in files, and
66 * you can include them here.
77 */
8- namespace Haste \Toolkit ;
9-
10- Admin \EnqueueScripts::init ();
Original file line number Diff line number Diff line change 1515
1616namespace Haste \Toolkit ;
1717
18-
1918// Prevents direct access
2019defined ( 'ABSPATH ' ) || exit;
2120
21+ if ( ! defined ( 'HASTE_TOOLKIT_PLUGIN_FILE ' ) ) {
22+ define ( 'HASTE_TOOLKIT_PLUGIN_FILE ' , __FILE__ );
23+ }
24+
2225// Autoload
2326if ( version_compare ( PHP_VERSION , '5.6.0 ' , '>= ' ) ) {
2427 require __DIR__ . '/vendor/autoload.php ' ;
2528}
2629
27- if ( ! defined ( 'HASTE_TOOLKIT_PLUGIN_FILE ' ) ) {
28- define ( 'HASTE_TOOLKIT_PLUGIN_FILE ' , __FILE__ );
29- }
30-
3130if ( ! class_exists ( 'HasteToolkit ' ) ) {
3231 class HasteToolkit {
3332 /**
You can’t perform that action at this time.
0 commit comments