From 0a1b28bbc5c78c65fa077584e72e89f736eb7a0a Mon Sep 17 00:00:00 2001 From: Aricura Date: Sat, 24 May 2014 18:03:30 +0000 Subject: [PATCH] - Bugfix: HowTo example will be displayed correctly if a user defined short code is set git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@920423 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- classes/footnotes_settings.php | 5 +++++ readme.txt | 3 +++ 2 files changed, 8 insertions(+) diff --git a/classes/footnotes_settings.php b/classes/footnotes_settings.php index 935bdef..3513725 100644 --- a/classes/footnotes_settings.php +++ b/classes/footnotes_settings.php @@ -581,6 +581,11 @@ class Class_FootnotesSettings { $l_arr_Footnote_StartingTag = $this->LoadSetting(FOOTNOTE_INPUTFIELD_PLACEHOLDER_START); $l_arr_Footnote_EndingTag = $this->LoadSetting(FOOTNOTE_INPUTFIELD_PLACEHOLDER_END); + + if ($l_arr_Footnote_StartingTag["value"] == "userdefined" || $l_arr_Footnote_EndingTag["value"] == "userdefined") { + $l_arr_Footnote_StartingTag = $this->LoadSetting(FOOTNOTE_INPUTFIELD_PLACEHOLDER_START_USERDEFINED); + $l_arr_Footnote_EndingTag = $this->LoadSetting(FOOTNOTE_INPUTFIELD_PLACEHOLDER_END_USERDEFINED); + } ?>
diff --git a/readme.txt b/readme.txt index 0cf8856..0c18f74 100755 --- a/readme.txt +++ b/readme.txt @@ -40,6 +40,9 @@ No, this Plugin has been written from scratch. Of course some inspirations on ho == Changelog == += 1.2.1 = +- Bugfix: HowTo example will be displayed correctly if a user defined short code is set + = 1.2.0 = - Feature: New button in the WYSIWYG editor and in the plain text editor to easily implement the footnotes tag - Feature: Icon for the WYSIWYG-editor button