diff --git a/src/admin/layout/class-engine.php b/src/admin/layout/class-engine.php index 6f4c2b7..212513e 100644 --- a/src/admin/layout/class-engine.php +++ b/src/admin/layout/class-engine.php @@ -14,6 +14,7 @@ */ namespace footnotes\admin\layout; + use footnotes\includes as Includes; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-init.php'; diff --git a/src/admin/layout/class-init.php b/src/admin/layout/class-init.php index 4e567c8..4363a93 100644 --- a/src/admin/layout/class-init.php +++ b/src/admin/layout/class-init.php @@ -14,6 +14,7 @@ */ namespace footnotes\admin\layout; + use footnotes\includes as Includes; /** diff --git a/src/admin/layout/class-settings.php b/src/admin/layout/class-settings.php index 2b7dbde..923d618 100644 --- a/src/admin/layout/class-settings.php +++ b/src/admin/layout/class-settings.php @@ -14,6 +14,7 @@ */ namespace footnotes\admin\layout; + use footnotes\includes as Includes; /** diff --git a/src/footnotes.php b/src/footnotes.php index 40ad273..6a1431a 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -27,7 +27,6 @@ namespace footnotes; - // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; diff --git a/src/includes/class-activator.php b/src/includes/class-activator.php index d8f9380..c11e313 100644 --- a/src/includes/class-activator.php +++ b/src/includes/class-activator.php @@ -1,13 +1,13 @@