diff --git a/README.md b/README.md index 81de1e5..c951fd4 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ > __Version:__ __GCFO_UNDEFINED_VERSION__ - # What is it? An blank boilerplate plugin, structured a bit more like a big-boy project; namespaces, autoloader, a (basic) renderer, Exceptions. diff --git a/cfo-info.php b/cfo-info.php index 0393573..e58a84c 100644 --- a/cfo-info.php +++ b/cfo-info.php @@ -4,6 +4,7 @@ define('GLOBAL_CFO_NAMESPACE', 'GlobalCfo'); define('GLOBAL_CFO_PLUGIN_FOLDER', __DIR__); + if (function_exists('plugin_dir_url')) { define('GLOBAL_CFO_PLUGIN_URL', plugin_dir_url(__FILE__)); } diff --git a/phpunit.xml b/phpunit.xml index e6e31ce..1c0f82b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -11,9 +11,6 @@ -