From f83fb80ab0285d5004e8a7801a0d0b6763c0c8ee Mon Sep 17 00:00:00 2001 From: pewgeuges <73141620+pewgeuges@users.noreply.github.com> Date: Mon, 18 Jan 2021 20:35:16 +0000 Subject: [PATCH] corrections for urgent bugfix, this: 2.5.1d1 git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2458521 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- class/dashboard/subpage-main.php | 4 ++-- class/task.php | 26 +++++++++++++------------- css/public.css | 8 ++++---- footnotes.php | 4 ++-- readme.txt | 12 ++++++------ 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/class/dashboard/subpage-main.php b/class/dashboard/subpage-main.php index 05fc2ca..56eaadd 100644 --- a/class/dashboard/subpage-main.php +++ b/class/dashboard/subpage-main.php @@ -6,7 +6,7 @@ * @author Stefan Herndler * @since 1.5.0 14.09.14 14:47 * - * Last modified: 2021-01-18T2102+0100 + * Last modified: 2021-01-18T2127+0100 * * Edited: * @since 2.0.4 restore arrow settings 2020-11-01T0509+0100 @@ -889,7 +889,7 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine { * * @since 2.2.2 migrate Custom CSS to a dedicated tab 2020-12-15T0506+0100 * @since 2.3.0 say 'copy-paste' instead of 'cut and paste' since cutting is not needed 2020-12-27T1257+0100 - * @since 2.5.1 mention validity while visible, thanks to @rkupadhya feedback + * @since 2.5.1 mention validity while visible, thanks to @rkupadhya bug report */ public function CustomCSS() { // load template file diff --git a/class/task.php b/class/task.php index e7a5da2..c3ad10b 100644 --- a/class/task.php +++ b/class/task.php @@ -8,7 +8,7 @@ * * Edited for v2.0.0 and following. * - * Last modified: 2021-01-07T2219+0100 + * Last modified: 2021-01-18T2119+0100 * * @since 2.0.5 debug autoload / infinite scroll through added post ID, contributed by @docteurfitness * @see @@ -116,7 +116,7 @@ * * @since 2.5.0 Hooks: support for footnotes on category pages, thanks to @vitaefit bug report, thanks to @misfist code contribution * @see - * + * * @since 2.5.1 Hooks: support for footnotes in Popup Maker popups, thanks to @squatcher bug report * @see */ @@ -309,10 +309,10 @@ class MCI_Footnotes_Task { * @since 2.5.0 support for the term_description hook, thanks to @vitaefit bug report, thanks to @misfist code contribution * @see * - * Popup Maker popups: - * @since 2.5.1 support for the pum_popup_content hook, thanks to @squatcher bug report - * @see - * + * Popup Maker popups: + * @since 2.5.1 support for the pum_popup_content hook, thanks to @squatcher bug report + * @see + * * Priority level: * @since 2.0.5 through v2.0.7 changes to priority 2020-11-02T0330+0100..2020-11-06T1344+0100 * @since 2.1.1 add setting for the_content @@ -359,16 +359,16 @@ class MCI_Footnotes_Task { // custom priority level for reference container relative positioning; default 98: if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_CONTENT))) { - add_filter('the_content', array($this, "the_content"), $p_int_TheContentPriority); - + add_filter('the_content', array($this, "the_content"), $p_int_TheContentPriority); + // HOOK FOR CATEGORY PAGES: // 2021-01-05T1402+0100 // see - add_filter('term_description', array($this, "the_content"), $p_int_TheContentPriority); - - // HOOK FOR POPUP MAKER POPUPS: - // 2021-01-18T2038+0100 - // see + add_filter('term_description', array($this, "the_content"), $p_int_TheContentPriority); + + // HOOK FOR POPUP MAKER POPUPS: + // 2021-01-18T2038+0100 + // see add_filter('pum_popup_content', array($this, "the_content"), $p_int_TheContentPriority); } diff --git a/css/public.css b/css/public.css index c3c6328..42f3907 100755 --- a/css/public.css +++ b/css/public.css @@ -8,7 +8,7 @@ /* Version: 2.5.1 -Last modified: 2021-01-18T2051+0100 +Last modified: 2021-01-18T2124+0100 Classes recommended for Custom CSS are listed in @@ -24,7 +24,7 @@ Edited: @since 2.0.0 Reference container: Collapse button: fix text decoration @since 2.0.1 enforce borderless table cells through !important property, thanks to @ragonesi bug report @since 2.1.1 Referrers: line height 0 to fix superscript, thanks to @cwbayer bug report -@since 2.1.6 set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons feedback +@since 2.1.6 set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons bug report @since 2.3.0 offset anchors for optional hard links, thanks to @psychonevro @martinneumannat bug reports @since 2.4.0 validation error warning box @since 2.5.0 validation error warning box more paragraphs @@ -68,7 +68,7 @@ issue with missing content or footnotes, while it may be hard to detect in long posts and under deadline. A validation check displays a warning box below the -post title, populated with 300 characters of contente +post title, populated with 300 characters of content preceded by the first unbalanced start tag short code. @since 2.4.0 @@ -194,7 +194,7 @@ Classes: /* tooltips -@since 2.1.6 set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons +@since 2.1.6 set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons bug report @see */ diff --git a/footnotes.php b/footnotes.php index ea109a9..3727b42 100755 --- a/footnotes.php +++ b/footnotes.php @@ -4,12 +4,12 @@ Plugin URI: https://wordpress.org/plugins/footnotes/ Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine. Author: Mark Cheret - Version: 2.5.1d0 + Version: 2.5.1d1 Author URI: http://cheret.de/plugins/footnotes-2/ Text Domain: footnotes Domain Path: /languages */ -define( 'FOOTNOTES_VERSION', '2.5.1d0' ); +define( 'FOOTNOTES_VERSION', '2.5.1d1' ); /* Copyright 2020 Mark Cheret (email: mark@cheret.de) diff --git a/readme.txt b/readme.txt index c7dd22e..b523da5 100755 --- a/readme.txt +++ b/readme.txt @@ -82,7 +82,7 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** = 2.5.1 = - Bugfix: Hooks: support for footnotes in Popup Maker popups, thanks to @squatcher bug report - Bugfix: Reference container: click on label expands but also collapses, thanks to @ahmadword bug report -- Bugfix: Dashboard: Custom CSS: mention validity of legacy while visible, thanks to @rkupadhya feedback +- Bugfix: Dashboard: Custom CSS: mention validity of legacy while visible, thanks to @rkupadhya bug report - Bugfix: Dashboard: Custom CSS: make class list column formatting effective again - Update: Readme/documentation: add new contributors in the file header’s Contributors field - Update: Readme/documentation: update or fix URLs in Download, Support and Development sections @@ -109,7 +109,7 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** = 2.3.0 = - Add: optional hard links in referrers and backlinks for AMP compatibility, thanks to @psykonevro bug report, thanks to @martinneumannat code contribution - Bugfix: Reference container: convert top padding to margin and make it a setting, thanks to @hamshe bug report -- Bugfix: Referrers and tooltips: disable box shadow to more effectively remove unwanted underline as bottom border, thanks to @klusik feedback +- Bugfix: Referrers and tooltips: disable box shadow to more effectively remove unwanted underline as bottom border, thanks to @klusik bug report - Bugfix: Dashboard: swap Custom CSS migration Boolean, meaning 'show legacy' instead of 'migration complete', due to storage data structure constraints - Update: Dashboard: rename 'Priority level' tab as 'Scope and priority', to account for the new alternative depending on widget_text hook activation - Bugfix: Referrers and tooltips: correct scope of the line height fix to only affect the referrers @@ -179,7 +179,7 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** = 2.1.6 = - Bugfix: Priority levels: set the_content priority level to 98 to prevent plugin conflict, thanks to @marthalindeman bug report -- Bugfix: Tooltips: set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons feedback +- Bugfix: Tooltips: set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons bug report - Bugfix: Reference container, tooltips: URL wrap: fix regex, thanks to @a223123131 bug report - Bugfix: Dashboard: URL wrap: add option to properly enable/disable URL wrap - Update: Dashboard: reorder tabs and update tab labels @@ -213,7 +213,7 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** - Bugfix: Dashboard: Main settings: fix layout, raise shortcodes to top - Bugfix: Dashboard: Tooltip settings: Truncation length: change input box type from text to numeric - Update: Dashboard: Notices: use explicit italic style -- Bugfix: Dashboard: Other settings: Excerpt: display guidance next to select box, thanks to @nikelaos feedback +- Bugfix: Dashboard: Other settings: Excerpt: display guidance next to select box, thanks to @nikelaos bug report - Bugfix: WordPress hooks: the_content: set priority to 1000 as a safeguard - Update: Dashboard: Expert mode: streamline and update description for hooks and priority levels @@ -228,9 +228,9 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** = 2.1.2 = - Bugfix: Reference container: Backlinks: no underline on hover cell when combining identicals is on -- Bugfix: Dashboard: priority level settings for all other hooks, thanks to @nikelaos feedback +- Bugfix: Dashboard: priority level settings for all other hooks, thanks to @nikelaos bug report - Update: Dashboard: WordPress documentation URLs of the hooks -- Update: Dashboard: feature description for the hooks priority level settings, thanks to @nikelaos feedback +- Update: Dashboard: feature description for the hooks priority level settings, thanks to @nikelaos bug report = 2.1.1 = - Bugfix: Combining identical footnotes: fix dead links, ensure referrer-backlink bijectivity, thanks to @happyches bug report