diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a3fe25..ae40f76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.0.3 +## 29-02-2020 + +1. [](#bugfix) + * Adjusted scope of autoloader so it will not interfere with other 'Aura' prefixed plugins + # v1.0.2 ## 09-02-2020 diff --git a/aura.php b/aura.php index 89c6613..0df7111 100644 --- a/aura.php +++ b/aura.php @@ -168,7 +168,7 @@ public function onPluginsInitialized() // Autoloader spl_autoload_register(function ($class) { - if (Utils::startsWith($class, 'Grav\Plugin\Aura')) { + if (Utils::startsWith($class, 'Grav\Plugin\Aura\\')) { require_once __DIR__ .'/classes/' . strtolower(basename(str_replace("\\", '/', $class))) . '.php'; } }); diff --git a/blueprints.yaml b/blueprints.yaml index 5d9b772..48de155 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,5 +1,5 @@ name: Aura -version: 1.0.2 +version: 1.0.3 description: Automatically add meta tags and structured data to your pages for visually appealing and informative search results and social media sharing. icon: code author: diff --git a/languages.yaml b/languages.yaml deleted file mode 100644 index ce7cc6c..0000000 --- a/languages.yaml +++ /dev/null @@ -1,4 +0,0 @@ -en: - PLUGIN_AURA: - TEXT_VARIABLE: Text Variable - TEXT_VARIABLE_HELP: Text to add to the top of a page