From 12a53754ab2c5463f295cc5b5d383e06bdd76d1c Mon Sep 17 00:00:00 2001 From: pewgeuges <73141620+pewgeuges@users.noreply.github.com> Date: Sat, 23 Jan 2021 00:25:35 +0000 Subject: [PATCH] update for urgent bugfix upcoming 2.5.3 git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2461253 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- class/dashboard/layout.php | 4 +- class/dashboard/subpage-main.php | 3 +- class/init.php | 6 +- class/language.php | 12 +- class/settings.php | 22 +- class/task.php | 481 ++++++++++++++++++------------- class/template.php | 10 +- css/public.css | 12 +- footnotes.php | 4 +- readme.txt | 35 ++- 10 files changed, 333 insertions(+), 256 deletions(-) diff --git a/class/dashboard/layout.php b/class/dashboard/layout.php index bfc4d36..1fff4e7 100644 --- a/class/dashboard/layout.php +++ b/class/dashboard/layout.php @@ -12,7 +12,7 @@ * 2.1.4 optional step argument and support for floating in numbox 2020-12-05T0540+0100 * 2.1.6 fix punctuation-related localization issue in dashboard labels 2020-12-08T1547+0100 * - * Last modified: 2020-12-10T1447+0100 + * Last modified: 2021-01-22T0440+0100 */ @@ -213,7 +213,7 @@ abstract class MCI_Footnotes_LayoutEngine { // register stylesheet // added version # after changes started to settings.css from 2.1.2 on: // automated update of version number for cache busting - wp_register_style( 'mci-footnotes-admin-styles', plugins_url('footnotes/css/settings.css'), array(), FOOTNOTES_VERSION ); + wp_register_style( 'mci-footnotes-admin-styles', plugins_url('footnotes/css/settings.css'), array(), C_STR_FOOTNOTES_VERSION ); // add stylesheet to the output wp_enqueue_style('mci-footnotes-admin-styles'); diff --git a/class/dashboard/subpage-main.php b/class/dashboard/subpage-main.php index 56eaadd..b00205a 100644 --- a/class/dashboard/subpage-main.php +++ b/class/dashboard/subpage-main.php @@ -6,12 +6,13 @@ * @author Stefan Herndler * @since 1.5.0 14.09.14 14:47 * - * Last modified: 2021-01-18T2127+0100 + * Last modified: 2021-01-22T0545+0100 * * Edited: * @since 2.0.4 restore arrow settings 2020-11-01T0509+0100 * @since 2.1.0 read-on button label 2020-11-08T2148+0100 * @since 2.1.1 options for ref container and alternative tooltips 2020-11-16T2152+0100 + * @since 2.1.1 Referrers: superscript becomes optional, thanks to @cwbayer bug report * @since 2.1.2 priority level settings for all other hooks, thanks to @nikelaos * @see * @since 2.1.4 settings for ref container, tooltips and scrolling 2020-12-03T0950+0100 diff --git a/class/init.php b/class/init.php index 2a9b7f0..b9acca2 100644 --- a/class/init.php +++ b/class/init.php @@ -157,14 +157,14 @@ class MCI_Footnotes { // up-to-date plugin version number needed for cache busting: // not use '-css' in the handle, is appended automatically; - // constant FOOTNOTES_VERSION defined in footnotes.php, media all is default + // constant C_STR_FOOTNOTES_VERSION defined in footnotes.php, media all is default wp_enqueue_style( 'mci-footnotes-public', plugins_url( MCI_Footnotes_Config::C_STR_PLUGIN_NAME . '/css/public.css' ), array(), - FOOTNOTES_VERSION, + C_STR_FOOTNOTES_VERSION, 'all' ); @@ -178,7 +178,7 @@ class MCI_Footnotes { MCI_Footnotes_Config::C_STR_PLUGIN_NAME . '/css/layout-' . $l_str_LayoutOption . '.css' ), array(), - FOOTNOTES_VERSION, + C_STR_FOOTNOTES_VERSION, 'all' ); } diff --git a/class/language.php b/class/language.php index f62a7ef..55567c7 100644 --- a/class/language.php +++ b/class/language.php @@ -8,11 +8,11 @@ * Edited: * * @since 2.0.0 PHP-related bug fix thanks to @matkus2 code contribution 2020-10-26T1609+0100 - * @see - * @see + * @link https://wordpress.org/support/topic/error-missing-parameter-if-using-php-7-1-or-later/ + * @link https://www.php.net/manual/en/migration71.incompatible.php * * @since 2.1.6 conform to WordPress plugin language file name scheme, thanks to @nikelaos bug report 2020-12-08T1931+0100 - * @see + * @link https://wordpress.org/support/topic/more-feature-ideas/ * * Last modified: 2021-01-10T1755+0100 */ @@ -41,8 +41,8 @@ class MCI_Footnotes_Language { * @since 1.5.0 * * @since 2.0.0 PHP 7.1 related bug fix thanks to @matkus2 code contribution - * @see - * @see + * @link https://wordpress.org/support/topic/error-missing-parameter-if-using-php-7-1-or-later/ + * @link https://www.php.net/manual/en/migration71.incompatible.php */ public static function loadTextDomain() { // language file with localization exists @@ -65,7 +65,7 @@ class MCI_Footnotes_Language { * * Edited: * @since 2.1.6 conform to WordPress plugin language file name scheme, thanks to @nikelaos bug report - * @see + * @link https://wordpress.org/support/topic/more-feature-ideas/ * That is done by using load_plugin_textdomain() * @see wp-includes/l10n.php:857 * “The .mo file should be named based on the text domain with a dash, and then the locale exactly.” diff --git a/class/settings.php b/class/settings.php index fb5d1d2..4b4b028 100644 --- a/class/settings.php +++ b/class/settings.php @@ -23,14 +23,14 @@ * @since 2.1.1 fix superscript by making it optional * * @since 2.1.1 fix start pages by option to hide ref container, thanks to @dragon013 - * @see + * @link https://wordpress.org/support/topic/possible-to-hide-it-from-start-page/ * * @since 2.1.1 fix ref container by option restoring 3-column layout * * @since 2.1.1 fix ref container by option to switch index/symbol 2020-11-16T2022+0100 * * @since 2.1.3 excerpt hook: disable by default, thanks to @nikelaos - * @see + * @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13687068 * * @since 2.1.3 fix ref container positioning by priority level 2020-11-17T0205+0100 * @@ -41,7 +41,7 @@ * @since 2.1.6 set default priority level of the_content to 98 to prevent plugin conflict, thanks to @marthalindeman 2020-12-10T0447+0100 * * @since 2.2.0 reference container custom position shortcode, thanks to @hamshe 2020-12-13T2056+0100 - * @see + * @link https://wordpress.org/support/topic/reference-container-in-elementor/ * * @since 2.2.2 Custom CSS settings container migration 2020-12-15T0709+0100 * @@ -50,15 +50,15 @@ * @since 2.2.5 alternative tooltip position settings 2020-12-17T0907+0100 * * @since 2.2.5 options for reference container label element and bottom border, thanks to @markhillyer 2020-12-18T1455+0100 - * @see + * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * * @since 2.2.9 set default priority level of widget_text to 98 like for the_content (since 2.1.6), thanks to @marthalindeman 2020-12-25T1646+0100 * * @since 2.2.10 reference container row border option, thanks to @noobishh 2020-12-25T2316+0100 - * @see + * @link https://wordpress.org/support/topic/borders-25/ * * @since 2.3.0 reference container: settings for top (and bottom) margin, thanks to @hamshe - * @see + * @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635 * * @since 2.3.0 swap Custom CSS migration Boolean from 'migration complete' to 'show legacy' 2020-12-27T1243+0100 * @@ -440,7 +440,7 @@ class MCI_Footnotes_Settings { * 2020-11-16T0859+0100 * * option to enable/disable the superscript element for referrers, thanks to @cwbayer - * @see + * @link https://wordpress.org/support/topic/footnote-number-in-text-superscript-disrupts-leading/ */ const C_BOOL_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS = "footnotes_inputfield_referrer_superscript_tags"; const C_BOOL_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE = "footnotes_inputfield_reference_container_backlink_symbol_enable"; @@ -547,7 +547,7 @@ class MCI_Footnotes_Settings { /** * Settings Container Keys for alternative tooltip position * Settings Container Keys for reference container label element, thanks to @markhillyer - * @see + * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * * @since 2.2.5 * @var int @@ -565,7 +565,7 @@ class MCI_Footnotes_Settings { /** * Settings Container Key for table cell borders, thanks to @noobishh - * @see + * @link https://wordpress.org/support/topic/borders-25/ * * @since 2.2.10 * @var bool @@ -645,7 +645,7 @@ class MCI_Footnotes_Settings { * Edited multiple times. * * @since 2.1.3 excerpt hook: disable by default, thanks to @nikelaos - * @see + * @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13687068 */ private $a_arr_Default = array( @@ -949,7 +949,7 @@ class MCI_Footnotes_Settings { * @return array Settings loaded from Container of Default Settings if Settings Container is empty (first usage). * * @since ditched trimming whitespace from text box content in response to user request. - * @see + * @link https://wordpress.org/support/topic/leading-space-in-footnotes-tag/#post-5347966 */ private function Load($p_int_Index) { // load all settings from container diff --git a/class/task.php b/class/task.php index 92aa096..a44cf2b 100644 --- a/class/task.php +++ b/class/task.php @@ -6,30 +6,27 @@ * @author Stefan Herndler * @since 1.5.0 * - * Edited for v2.0.0 and following. + * @edited @since 2.0.0 * - * Last modified: 2021-01-19T2354+0100 + * @lastmodified 2021-01-23T0119+0100 * - * @since 2.0.5 debug autoload / infinite scroll through added post ID, contributed by @docteurfitness - * @see + * @since 2.0.5 debug autoload / infinite scroll by adding post ID, thanks to @docteurfitness code contribution + * @since 2.0.9 REMOVE the_post HOOK 2020-11-08T1839+0100 + * @since 2.1.0 Tooltips: Read-on button: configurable instead of localizable + * @since 2.1.1 Combining identical footnotes: fix dead links and ensure referrer-backlink bijectivity, thanks to @happyches bug report + * @since 2.1.1 Reference container: fix start pages by making its display optional, thanks to @dragon013 bug report * - * @since 2.0.9 REMOVED the_post HOOK 2020-11-08T1839+0100 * - * @since 2.1.0 promote the 'Continue reading' button from localization to configuration 2020-11-08T2146+0100 * - * @since 2.1.1 combining identical footnotes: fixed dead links, thanks to @happyches 2020-11-14T2233+0100 - * @see - * - * @since 2.1.1 fix start pages by option to hide ref container, thanks to @dragon013 - * @see + * @since 2.1.1 Referrers: superscript becomes optional, thanks to @cwbayer bug report * * @since 2.1.1 options fixing ref container layout and referrer vertical alignment 2020-11-16T2024+0100 * * @since 2.1.1 priority level option fixing ref container relative position, thanks to june01, @spaceling, @imeson 2020-11-17T0254+0100 - * @see + * @link https://wordpress.org/support/topic/change-the-position-5/ * * @since 2.1.2 priority level settings for all other hooks, thanks to @nikelaos 2020-11-19T1849+0100 - * @see + * @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13676705 * * @since 2.1.4 fix line wrapping of URLs based on pattern, not link element 2020-11-25T0837+0100 * @@ -48,55 +45,52 @@ * @since 2.1.4 tooltip display duration settings 2020-12-06T1320+0100 * * @since 2.1.5 URL wrap: exclude image source too, thanks to @bjrnet21 - * @see + * @link https://wordpress.org/support/topic/2-1-4-breaks-on-my-site-images-dont-show/ * * @since 2.1.6 option to disable URL line wrapping 2020-12-09T1606+0100 * * @since 2.1.6 add catch-all exclusion to fix URL line wrapping, thanks to @a223123131 2020-12-09T1921+0100 - * @see + * @link https://wordpress.org/support/topic/broken-layout-starting-version-2-1-4/ * * @since 2.2.0 support for custom position shortcode for reference container, thanks to @hamshe 2020-12-13T2058+0100 - * @see + * @link https://wordpress.org/support/topic/reference-container-in-elementor/ * * @since 2.2.3 custom CSS from new setting in header after legacy 2020-12-15T1128+0100 * * @since 2.2.5 connect alternative tooltips to position and timing settings 2020-12-18T1113+0100 * * @since 2.2.5 delete unused position shortcode when ref container in widget or footer, thanks to @hamshe 2020-12-18T1437+0100 - * @see + * @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13784126 * * @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer 2020-12-18T1447+0100 - * @see + * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * * @since 2.2.6 URL wrap: make the quotation mark optional in the exclusion regex, thanks to @spiralofhope2 2020-12-23T0409+0100 - * @see + * @link https://wordpress.org/support/topic/two-links-now-breaks-footnotes-with-blogtext/ * * @since 2.2.7 revert that change in the exclusion regex, thanks to @rjl20, @spaceling, @friedrichnorth, @bernardzit 2020-12-23T1046+0100 - * @see - * @see + * @link https://wordpress.org/support/topic/two-links-now-breaks-footnotes-with-blogtext/ + * @link https://wordpress.org/support/topic/footnotes-dont-show-after-update-to-2-2-6/ * * @since 2.2.8 URL wrap: correct lookbehind by duplicating it with and without quotation mark class 2020-12-23T1108+0100 * * @since 2.2.9 URL wrap: account for RFC 2396 allowed characters in parameter names 2020-12-24T1956+0100 - * @see + * @link https://stackoverflow.com/questions/814700/http-url-allowed-characters-in-parameter-names * - * @since 2.2.9 Reference containers, widget_text hook: support for multiple containers in a page, thanks to @justbecuz 2020-12-25T0338+0100 - * @see + * @since 2.2.9 Reference containers, widget_text hook: support for multiple containers in a page, thanks to @justbecuz bug report + * @link https://wordpress.org/support/topic/reset-footnotes-to-1/#post-13662830 * * @since 2.2.9 URL wrap: exclude URLs also where the equals sign is preceded by an entity or character reference 2020-12-25T1251+0100 * * @since 2.2.10 URL wrap: support also file transfer protocol URLs 2020-12-25T2220+0100 * * @since 2.2.10 Reference container: add option for table borders to revert 2.0.0/2.0.1 change made on user request, thanks to @noobishh 2020-12-25T2304+0100 - * @see + * @link https://wordpress.org/support/topic/borders-25/ * * @since 2.3.0 Reference container: convert top padding to margin and make it a setting, thanks to @hamshe - * @see - * - * @since 2.3.0 optional hard links in referrers and backlinks for AMP compatibility, thanks to @psykonevro and @martinneumannat - * @see - * @see + * @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635 * + * @since 2.3.0 optional hard links in referrers and backlinks for AMP compatibility, thanks to @psykonevro bug report, thanks to @martinneumannat code contribution * @since 2.3.0 swap Custom CSS migration Boolean from 'migration complete' to 'show legacy' 2020-12-27T1243+0100 * * @since 2.4.0 syntax validation for balanced footnote start and end tags 2021-01-01T0227+0100 @@ -112,15 +106,17 @@ * @since 2.5.0 Shortcode syntax validation: exclude certain cases involving scripts, thanks to @andreasra 2021-01-07T0824+0100 * @since 2.5.0 Shortcode syntax validation: complete message with hint about setting, thanks to @andreasra * @since 2.5.0 Shortcode syntax validation: limit length of quoted string to 300 characters, thanks to @andreasra - * @see + * @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/ * * @since 2.5.0 Hooks: support for footnotes on category pages, thanks to @vitaefit bug report, thanks to @misfist code contribution - * @see + * @link https://wordpress.org/support/topic/footnote-doesntwork-on-category-page/ * * @since 2.5.1 Hooks: support for footnotes in Popup Maker popups, thanks to @squatcher bug report - * @see + * @link https://wordpress.org/support/topic/footnotes-use-in-popup-maker/ + * + * @since 2.5.2 Tooltips: ability to display dedicated content, thanks to @jbj2199 bug report * - * @since 2.6.0 Tooltips: possible to display dedicated content, thanks to @jbj2199 feature request + * @since 2.5.3 URL wrap: exclude URL pattern as folder name in Wayback Machine URL, thanks to @rumperuu bug report */ // If called directly, abort: @@ -168,33 +164,35 @@ class MCI_Footnotes_Task { /** * INFINITE SCROLL / AUTOLOAD, ARCHIVE VIEW * + * debug autoload / infinite scroll by adding post ID, thanks to @docteurfitness code contribution * Multiple posts are appended to each other, functions and note IDs must be disambiguated. * - * Contribution thankfully received from @docteurfitness - * @see + * @thanksto @docteurfitness + * @contributor @docteurfitness + * @link https://wordpress.org/support/topic/auto-load-post-compatibility-update/ * @since 2.0.5 * @var int * * post ID to make everything unique wrt infinite scroll and archive view: - * (will be filled in by the next possible occasion; PHP seems to prohibit doing so here) */ - public static $l_int_PostId = ''; + public static $a_int_PostId = 0; /** - * Reference container ID + * REFERENCE CONTAINER ID * * This ID disambiguates multiple reference containers in a page * as they may occur when the widget_text hook is active and the page * is built with Elementor and has an accordion or similar toggle sections. * - * Is incremented each time after a reference container is inserted. - * - * Thanks to @justbecuz - * @see + * @thanksto @justbecuz bug report + * @link https://wordpress.org/support/topic/reset-footnotes-to-1/ * @since 2.2.9 + * @datestamp 2020-12-25T0338+0100 * @var int + * + * incremented each time after a reference container is inserted. */ - public static $l_int_ReferenceContainerId = 1; + public static $a_int_ReferenceContainerId = 1; /** * TEMPLATE PROCESS OPTIMIZATION @@ -204,33 +202,43 @@ class MCI_Footnotes_Task { * * @author Patrizia Lutz @misfist * - * @since 2.4.0d0 + * @since 2.4.0 */ - public static $l_bool_TooltipsEnabled = false; - public static $l_bool_AlternativeTooltipsEnabled = false; + public static $a_bool_TooltipsEnabled = false; + public static $a_bool_AlternativeTooltipsEnabled = false; /** * HARD LINKS FOR AMP * * Optional hard links in referrers and backlinks for AMP compatibility * - * Thanks to @psykonevro and @martinneumannat - * @see - * @see + * @thanksto @martinneumannat code contribution + * @link https://wordpress.org/support/topic/making-it-amp-compatible/ + * @thanksto @psykonevro bug report + * @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/ * @since 2.3.0 * @var bool|str|int - * - * @since 2.4.0 initialize scroll offset to a safety default value 34 right here 2021-01-03T2055+0100 - * By accident, this variable may not be updated with settings storage. - * Websites may use high fixed headers not contracting at scroll. */ - public static $l_bool_HardLinksEnable = false; - public static $l_str_ReferrerLinkSlug = 'r'; - public static $l_str_FootnoteLinkSlug = 'f'; - public static $l_str_LinkIdsSeparator = '+'; - public static $l_str_PostContainerIdCompound = ''; - // scroll offset may now need to get into inline CSS; default: - public static $l_int_ScrollOffset = 34; + public static $a_bool_HardLinksEnable = false; + public static $a_str_ReferrerLinkSlug = 'r'; + public static $a_str_FootnoteLinkSlug = 'f'; + public static $a_str_LinkIdsSeparator = '+'; + public static $a_str_PostContainerIdCompound = ''; + + /** + * SCROLL OFFSET + * + * Optional hard links in referrers and backlinks for AMP compatibility + * + * By accident, this variable may not be updated with settings storage. + * Websites may use high fixed headers not contracting at scroll. + * Scroll offset may now need to get into inline CSS. + * Hence initialize scroll offset to a safety default value 34 right here. + * + * @since 2.4.0 + * @datestamp 2021-01-03T2055+0100 + */ + public static $a_int_ScrollOffset = 34; /** * OPTIONAL LINK ELEMENT FOR FOOTNOTE REFERRERS AND BACKLINKS @@ -256,33 +264,41 @@ class MCI_Footnotes_Task { * of the already supported pseudo-classes :link, :hover, :active and :visited that can * still not be used in color names. * - * @since 2.0.0 added the link elements with hard links - * @since 2.0.4 removed the hard links on user request - * @see - * @since 2.1.4 made link elements optional for styling purposes, 2020-11-25T1306+0100 - * @since 2.3.0 this variable keeps its default value if hard links are enabled 2020-12-30T2313+0100 + * @since 2.0.0 add the link elements with hard links + * + * @since 2.0.4 remove the hard links on user request + * @link https://wordpress.org/support/topic/hyperlinked-footnotes-creating-excessive-back-history/ + * + * link elements optional for styling purposes + * @since 2.1.4 + * @datestamp 2020-11-25T1306+0100 + * + * this variable keeps its default value if hard links are enabled + * @since 2.3.0 + * @datestamp 2020-12-30T2313+0100 * * @var str */ - public static $l_str_LinkSpan = 'span'; - public static $l_str_LinkOpenTag = ''; - public static $l_str_LinkCloseTag = ''; + public static $a_str_LinkSpan = 'span'; + public static $a_str_LinkOpenTag = ''; + public static $a_str_LinkCloseTag = ''; /** * DEDICATED TOOLTIP TEXT * + * The ability to display dedicated content, thanks to @jbj2199 bug report + * * Tooltips can display another content than the footnote entry * in the reference container. The trigger is a shortcode in * the footnote text separating the tooltip text from the note. * - * @thanksto @jbj2199 feature request - * @see - * @since 2.6.0d1 - * @timestamp 2021-01-19T2223+0100 + * @thanksto @jbj2199 bug report + * @link https://wordpress.org/support/topic/change-tooltip-text/ + * @since 2.5.2 + * @datestamp 2021-01-19T2223+0100 */ - public static $a_bool_HasTooltipText = false; + public static $a_bool_MirrorTooltipText = false; public static $a_str_TooltipShortcode = '[[/tooltip]]'; - public static $a_int_TooltipTextLength = 0; public static $a_int_TooltipShortcodeLength = 12; /** @@ -300,7 +316,7 @@ class MCI_Footnotes_Task { * @since 2.4.0 * @var bool */ - public static $l_bool_SyntaxErrorFlag = true; + public static $a_bool_SyntaxErrorFlag = true; @@ -318,21 +334,21 @@ class MCI_Footnotes_Task { * * the_post hook: * @since 1.5.4 added the_post hook in response to user request for custom post types - * @see + * @link https://wordpress.org/support/topic/doesnt-work-in-custon-post-types/#post-5339110 * * @since 2.0.9 removed the_post hook after its default enabling caused multiple issues 2020-11-08T1839+0100 * @see - * @see - * @see + * @link https://wordpress.org/support/topic/footnotes-appearing-in-header/#post-13630303 + * @link https://wordpress.org/support/topic/footnotes-appearing-in-header/page/2/#post-13630799 + * @link https://wordpress.org/support/topic/no-footnotes-anymore/#post-13813233 * * Category pages: * @since 2.5.0 support for the term_description hook, thanks to @vitaefit bug report, thanks to @misfist code contribution - * @see + * @link https://wordpress.org/support/topic/footnote-doesntwork-on-category-page/ * * Popup Maker popups: * @since 2.5.1 support for the pum_popup_content hook, thanks to @squatcher bug report - * @see + * @link https://wordpress.org/support/topic/footnotes-use-in-popup-maker/ * * Priority level: * @since 2.0.5 through v2.0.7 changes to priority 2020-11-02T0330+0100..2020-11-06T1344+0100 @@ -420,22 +436,31 @@ class MCI_Footnotes_Task { * @author Stefan Herndler * @since 1.5.0 * - * Edited: + * @edited + * + * @since 2.1.1 Reference container: fix start pages by making its display optional, thanks to @dragon013 bug report * @since 2.1.1 option to hide ref container from start page * @since 2.1.1 script for alternative tooltips * @since 2.1.3 raise settings priority to override theme style sheets * @since 2.1.4 tootip font size and backlink column width settings * @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer 2020-12-18T1447+0100 - * @see + * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * @since 2.3.0 Reference container: convert top padding to margin and make it a setting, thanks to @hamshe - * @see + * @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635 */ public function wp_head() { // insert start tag without switching out of PHP: echo "\r\n\r\n"; // alternative tooltip script printed formatted not minified: - if (self::$l_bool_AlternativeTooltipsEnabled) { + if (self::$a_bool_AlternativeTooltipsEnabled) { ?>