diff --git a/README.md b/README.md index 90e55b7..cf3ad4b 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,9 @@ All parameters are optional. ## Changelog +### 1.1.3 +- Fixed #15 - Fixed bug where global settings undefined on new install + ### 1.1.2 - Fix #12 via @FrankZwiers - Fix for php error on adding a Quick Post widget - Fixed #11 - Fixed bug causing an Uncaught TypeError when no paragraphs are on the page diff --git a/SeoPlugin.php b/SeoPlugin.php index 17c3646..6aa136d 100644 --- a/SeoPlugin.php +++ b/SeoPlugin.php @@ -24,7 +24,7 @@ public function getDescription() public function getVersion() { - return '1.1.2'; + return '1.1.3'; } public function getSchemaVersion() diff --git a/releases.json b/releases.json index 2e0a51a..1e1d12a 100644 --- a/releases.json +++ b/releases.json @@ -81,5 +81,13 @@ "- Fixed text parser reading script tags as text", "- SEO Field now uses minified JS" ] + }, + { + "version": "1.1.3", + "downloadUrl": "https://github.com/ethercreative/seo/archive/v1.1.3.zip", + "date": "2016-07-07T11:00:00-08:00", + "notes": [ + "- Fixed #15 - Fixed bug where global settings undefined on new install" + ] } ] \ No newline at end of file diff --git a/templates/_seo-fieldtype-settings.twig b/templates/_seo-fieldtype-settings.twig index aa2a6c0..885d6eb 100644 --- a/templates/_seo-fieldtype-settings.twig +++ b/templates/_seo-fieldtype-settings.twig @@ -5,5 +5,5 @@ instructions: 'A string appended, after a space, to the page title. This can be removed on a per-entry basis.', name: 'titleSuffix', id: 'titleSuffix', - value: settings.titleSuffix is defined and settings.titleSuffix != "" ? settings.titleSuffix : globalSettings.titleSuffix + value: settings.titleSuffix is defined and settings.titleSuffix != "" ? settings.titleSuffix : globalSettings is defined ? globalSettings.titleSuffix : "" }) }} \ No newline at end of file