Merge branch 'main' into automated-linting

This commit is contained in:
Ben Goldsworthy 2021-04-15 15:07:27 +01:00 committed by GitHub
commit 72d3078fa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 133 additions and 284 deletions

View file

@ -5,9 +5,8 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 12.09.14 10:56
* *
* @since 2.0.4 add Public Plugin name for dashboard heading 2020-11-01T0452+0100 * @since 2.0.4 add Public Plugin name for dashboard heading
*/ */
/** /**

View file

@ -5,9 +5,8 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 12.09.14 10:56
* *
* @since 2.2.0 add lowercase Roman 2020-12-12T1540+0100 * @since 2.2.0 add lowercase Roman
*/ */
/** /**
@ -102,7 +101,7 @@ class MCI_Footnotes_Convert {
* @return string * @return string
* *
* Edited: * Edited:
* @since 2.2.0 optionally lowercase (code from Latin) 2020-12-12T1538+0100 * @since 2.2.0 optionally lowercase (code from Latin)
*/ */
private static function to_romanic( $p_int_value, $p_bool_upper_case ) { private static function to_romanic( $p_int_value, $p_bool_upper_case ) {
// Table containing all necessary romanic letters. // Table containing all necessary romanic letters.

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 12.09.14 10:26
*/ */
/** /**

View file

@ -5,12 +5,11 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 12.09.14 10:56
* *
* @since 2.1.2 add versioning of settings.css for cache busting 2020-11-19T1456+0100 * @since 2.1.2 add versioning of settings.css for cache busting
* @since 2.1.4 automate passing version number for cache busting 2020-11-30T0648+0100 * @since 2.1.4 automate passing version number for cache busting
* @since 2.1.4 optional step argument and support for floating in numbox 2020-12-05T0540+0100 * @since 2.1.4 optional step argument and support for floating in numbox
* @since 2.1.6 fix punctuation-related localization issue in dashboard labels 2020-12-08T1547+0100 * @since 2.1.6 fix punctuation-related localization issue in dashboard labels
* *
* @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. * @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report.
*/ */
@ -199,7 +198,6 @@ abstract class MCI_Footnotes_Layout_Engine {
* - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. * - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report.
* *
* @since 2.5.5 * @since 2.5.5
* @date 2021-02-14T1928+0100
* *
* @reporter @docteurfitness * @reporter @docteurfitness
* @link https://wordpress.org/support/topic/simply-speed-optimisation/ * @link https://wordpress.org/support/topic/simply-speed-optimisation/
@ -530,8 +528,7 @@ abstract class MCI_Footnotes_Layout_Engine {
* @param bool $p_bool_deci true if 0.1 steps and floating to string, false if integer (default). * @param bool $p_bool_deci true if 0.1 steps and floating to string, false if integer (default).
* @return string * @return string
* *
* Edited: * @since 2.1.4 step argument and number_format() to allow decimals.
* @since 2.1.4 step argument and number_format() to allow decimals 2020-12-03T0631+0100..2020-12-12T1110+0100
*/ */
protected function add_num_box( $p_str_setting_name, $p_in_min, $p_int_max, $p_bool_deci = false ) { protected function add_num_box( $p_str_setting_name, $p_in_min, $p_int_max, $p_bool_deci = false ) {
// Collect data for given settings field. // Collect data for given settings field.

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 14:47
*/ */
/** /**

View file

@ -4,39 +4,38 @@
* *
* @filesource * @filesource
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 14:47
* *
* @since 2.0.4 restore arrow settings 2020-11-01T0509+0100 * @since 2.0.4 restore arrow settings
* @since 2.1.0 read-on button label 2020-11-08T2148+0100 * @since 2.1.0 read-on button label
* @since 2.1.1 options for ref container and alternative tooltips 2020-11-16T2152+0100 * @since 2.1.1 options for ref container and alternative tooltips
* @since 2.1.1 Referrers: superscript becomes optional, thanks to @cwbayer bug report * @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 * @since 2.1.2 priority level settings for all other hooks, thanks to @nikelaos
* @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13676705 * @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13676705
* @since 2.1.4 settings for ref container, tooltips and scrolling 2020-12-03T0950+0100 * @since 2.1.4 settings for ref container, tooltips and scrolling
* @since 2.1.6 slight UI reordering 2020-12-09T1114+0100 * @since 2.1.6 slight UI reordering
* @since 2.1.6 option to disable URL line wrapping 2020-12-09T1604+0100 * @since 2.1.6 option to disable URL line wrapping
* @since 2.1.6 remove expert mode setting as outdated 2020-12-09T2105+0100 * @since 2.1.6 remove expert mode setting as outdated
* @since 2.2.0 start/end short codes: more predefined options, thanks to @nikelaos * @since 2.2.0 start/end short codes: more predefined options, thanks to @nikelaos
* @link https://wordpress.org/support/topic/doesnt-work-with-mailpoet/ * @link https://wordpress.org/support/topic/doesnt-work-with-mailpoet/
* @since 2.2.0 add options, redistribute, update strings 2020-12-12T2135+0100 * @since 2.2.0 add options, redistribute, update strings
* @since 2.2.0 shortcode for reference container custom position 2020-12-13T2055+0100 * @since 2.2.0 shortcode for reference container custom position
* @since 2.2.2 Custom CSS settings container migration 2020-12-15T0709+0100 * @since 2.2.2 Custom CSS settings container migration
* @since 2.2.4 move backlink symbol selection under previous tab 2020-12-16T1244+0100 * @since 2.2.4 move backlink symbol selection under previous tab
* @since 2.2.5 support for Ibid. notation thanks to @meglio 2020-12-17T2021+0100 * @since 2.2.5 support for Ibid. notation thanks to @meglio
* @link https://wordpress.org/support/topic/add-support-for-ibid-notation/ * @link https://wordpress.org/support/topic/add-support-for-ibid-notation/
* @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer 2020-12-18T1447+0100 * @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer
* @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/
* @since 2.2.10 reference container row border option, thanks to @noobishh 2020-12-25T2316+0100 * @since 2.2.10 reference container row border option, thanks to @noobishh
* @link https://wordpress.org/support/topic/borders-25/ * @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 * @since 2.3.0 Reference container: convert top padding to margin and make it a setting, thanks to @hamshe
* @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635 * @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635
* @since 2.3.0 rename Priority level tab as Scope and priority 2020-12-26T2222+0100 * @since 2.3.0 rename Priority level tab as Scope and priority
* @since 2.3.0 swap Custom CSS migration Boolean from 'migration complete' to 'show legacy' 2020-12-27T1243+0100 * @since 2.3.0 swap Custom CSS migration Boolean from 'migration complete' to 'show legacy'
* @since 2.3.0 mention op. cit. abbreviation 2020-12-28T2342+0100 * @since 2.3.0 mention op. cit. abbreviation
* @since 2.3.0 add settings for hard links, thanks to @psykonevro and @martinneumannat 2020-12-29T1322+0100 * @since 2.3.0 add settings for hard links, thanks to @psykonevro and @martinneumannat
* @link https://wordpress.org/support/topic/making-it-amp-compatible/ * @link https://wordpress.org/support/topic/making-it-amp-compatible/
* @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/ * @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/
* @since 2.4.0 footnote shortcode syntax validation 2021-01-01T0624+0100 * @since 2.4.0 footnote shortcode syntax validation
* @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra * @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra
* @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/ * @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/
*/ */
@ -200,8 +199,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* @since 1.5.0 * @since 1.5.0
* *
* Completed: * Completed:
* @since 2.1.4: layout and typography options 2020-11-30T0548+0100 * @since 2.1.4: layout and typography options
* @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer 2020-12-18T1447+0100 * @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer
* @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/
*/ */
public function reference_container() { public function reference_container() {
@ -372,14 +371,14 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* *
* @since 1.5.0 * @since 1.5.0
* *
* Edited heading 2020-12-12T1412+0100 * Edited heading
* @since 2.2.0 start/end short codes: more predefined options 2020-12-12T1412+0100 * @since 2.2.0 start/end short codes: more predefined options
* @link https://wordpress.org/support/topic/doesnt-work-with-mailpoet/ * @link https://wordpress.org/support/topic/doesnt-work-with-mailpoet/
* @since 2.2.0 3 boxes for clarity 2020-12-12T1422+0100 * @since 2.2.0 3 boxes for clarity
* @since 2.2.5 support for Ibid. notation thanks to @meglio 2020-12-17T2019+0100 * @since 2.2.5 support for Ibid. notation thanks to @meglio
* @link https://wordpress.org/support/topic/add-support-for-ibid-notation/ * @link https://wordpress.org/support/topic/add-support-for-ibid-notation/
* @since 2.4.0 added warning about Block Editor escapement disruption 2021-01-02T2324+0100 * @since 2.4.0 added warning about Block Editor escapement disruption
* @since 2.4.0 removed the HTML comment tag option 2021-01-02T2325+0100 * @since 2.4.0 removed the HTML comment tag option
* @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra * @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra
* @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/ * @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/
*/ */
@ -616,8 +615,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* @since 1.5.0 * @since 1.5.0
* *
* Edited: * Edited:
* @since 2.2.0 position-sensitive placeholders to support more locales 2020-12-11T0432+0100 * @since 2.2.0 position-sensitive placeholders to support more locales
* @since 2.2.0 more options 2020-12-11T0432+0100 * @since 2.2.0 more options
*/ */
public function love() { public function love() {
// Options for the acknowledgment display in the footer. // Options for the acknowledgment display in the footer.
@ -666,11 +665,11 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* *
* @since 1.5.0 * @since 1.5.0
* *
* Edited heading 2020-12-12T1453+0100 * Edited heading
* @since 2.1.1 more settings and notices, thanks to @nikelaos * @since 2.1.1 more settings and notices, thanks to @nikelaos
* @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13687068 * @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13687068
* @link https://wordpress.org/support/topic/jquery-comes-up-in-feed-content/#post-13110879 * @link https://wordpress.org/support/topic/jquery-comes-up-in-feed-content/#post-13110879
* @since 2.2.0 dedicated to the excerpt setting and its notices 2020-12-12T1454+0100 * @since 2.2.0 dedicated to the excerpt setting and its notices
*/ */
public function excerpts() { public function excerpts() {
// Options for Yes/No select box. // Options for Yes/No select box.
@ -703,9 +702,9 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* *
* @since 1.5.0 * @since 1.5.0
* *
* Edited heading 2020-12-12T1513+0100 * Edited heading
* @since 2.1.1 option for superscript (optionally baseline referrers) * @since 2.1.1 option for superscript (optionally baseline referrers)
* @since 2.2.0 option for link element moved here 2020-12-12T1514+0100 * @since 2.2.0 option for link element moved here
*/ */
public function superscript() { public function superscript() {
// Options for Yes/No select box. // Options for Yes/No select box.
@ -1100,7 +1099,6 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* - Update: Restore arrow settings to customize or disable the now prepended arrow symbol, thanks to @mmallett issue report. * - Update: Restore arrow settings to customize or disable the now prepended arrow symbol, thanks to @mmallett issue report.
* *
* @since 2.0.4 * @since 2.0.4
* @date 2020-11-02T2115+0100
* *
* @reporter @mmallett * @reporter @mmallett
* @link https://wordpress.org/support/topic/mouse-over-broken/#post-13593037 * @link https://wordpress.org/support/topic/mouse-over-broken/#post-13593037
@ -1136,10 +1134,9 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* @since 2.1.6 drop localized notices for CSS classes as the number increased to 16 * @since 2.1.6 drop localized notices for CSS classes as the number increased to 16
* list directly in the template, as CSS is in English anyway * list directly in the template, as CSS is in English anyway
* @see templates/dashboard/customize-css.html * @see templates/dashboard/customize-css.html
* 2020-12-09T1113+0100
* *
* @since 2.2.2 migrate Custom CSS to a dedicated tab 2020-12-15T0506+0100 * @since 2.2.2 migrate Custom CSS to a dedicated tab
* @since 2.3.0 say 'copy-paste' instead of 'cut and paste' since cutting is not needed 2020-12-27T1257+0100 * @since 2.3.0 say 'copy-paste' instead of 'cut and paste' since cutting is not needed
* @since 2.5.1 mention validity while visible, thanks to @rkupadhya bug report * @since 2.5.1 mention validity while visible, thanks to @rkupadhya bug report
*/ */
public function custom_css() { public function custom_css() {
@ -1241,8 +1238,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* @since 1.5.5 * @since 1.5.5
* *
* Edited: * Edited:
* @since 2.1.1 priority level setting for the_content 2020-11-16T2152+0100 * @since 2.1.1 priority level setting for the_content
* @since 2.1.4 priority level settings for the other hooks 2020-11-19T1421+0100 * @since 2.1.4 priority level settings for the other hooks
* *
* priority level was initially hard-coded default * priority level was initially hard-coded default
* shows "9223372036854775807" in the numbox * shows "9223372036854775807" in the numbox
@ -1250,8 +1247,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* but a numbox cannot be set to empty: <https://github.com/Modernizr/Modernizr/issues/171> * but a numbox cannot be set to empty: <https://github.com/Modernizr/Modernizr/issues/171>
* define -1 as PHP_INT_MAX instead * define -1 as PHP_INT_MAX instead
* *
* @since 2.2.9 removed the warning about the widget text hook 2020-12-25T0348+0100 * @since 2.2.9 removed the warning about the widget text hook
* @since 2.2.9 added guidance for the widget text hook 2020-12-25T0353+0100 * @since 2.2.9 added guidance for the widget text hook
*/ */
public function lookup_hooks() { public function lookup_hooks() {
// Load template file. // Load template file.

View file

@ -5,9 +5,8 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 12.09.14 10:56
* *
* @since 2.2.0 (TBD) 2020-12-12T1223+0100 * @since 2.2.0
*/ */
/** /**

View file

@ -5,16 +5,15 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 12.09.14 10:56
* *
* @since 1.6.5 Bugfix: Improve widgets registration, thanks to @felipelavinz code contribution. * @since 1.6.5 Bugfix: Improve widgets registration, thanks to @felipelavinz code contribution.
* @since 1.6.5 Update: Fix for deprecated PHP function create_function(), thanks to @psykonevro @daliasued bug reports, thanks to @felipelavinz code contribution. * @since 1.6.5 Update: Fix for deprecated PHP function create_function(), thanks to @psykonevro @daliasued bug reports, thanks to @felipelavinz code contribution.
* @since 2.0.0 Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution. * @since 2.0.0 Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution.
* *
* @since 2.0.3 add versioning of public.css for cache busting 2020-10-29T1413+0100 * @since 2.0.3 add versioning of public.css for cache busting
* @since 2.0.4 add jQuery UI from WordPress 2020-11-01T1902+0100 * @since 2.0.4 add jQuery UI from WordPress
* @since 2.1.4 automate passing version number for cache busting 2020-11-30T0646+0100 * @since 2.1.4 automate passing version number for cache busting
* @since 2.1.4 optionally enqueue an extra stylesheet 2020-12-04T2231+0100 * @since 2.1.4 optionally enqueue an extra stylesheet
* *
* @since 2.5.5 Update: Stylesheets: increase speed and energy efficiency by tailoring stylesheets to the needs of the instance, thanks to @docteurfitness design contribution. * @since 2.5.5 Update: Stylesheets: increase speed and energy efficiency by tailoring stylesheets to the needs of the instance, thanks to @docteurfitness design contribution.
* @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. * @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report.
@ -44,7 +43,6 @@ class MCI_Footnotes {
* - Bugfix: Templates: optimize template load and processing based on settings, thanks to @misfist code contribution. * - Bugfix: Templates: optimize template load and processing based on settings, thanks to @misfist code contribution.
* *
* @since 2.4.0 * @since 2.4.0
* @date 2021-01-04T1355+0100
* *
* @contributor Patrizia Lutz @misfist * @contributor Patrizia Lutz @misfist
* @link https://wordpress.org/support/topic/template-override-filter/#post-13864301 * @link https://wordpress.org/support/topic/template-override-filter/#post-13864301
@ -126,7 +124,6 @@ class MCI_Footnotes {
* *
* @contributor @felipelavinz * @contributor @felipelavinz
* @link https://github.com/benleyjyc/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 * @link https://github.com/benleyjyc/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793
* @date 2020-02-25
* @link https://github.com/media-competence-institute/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793 * @link https://github.com/media-competence-institute/footnotes/commit/87173d2980c7ff90e12ffee94ca7153e11163793
* *
* @see self::initialize_widgets() * @see self::initialize_widgets()
@ -209,10 +206,10 @@ class MCI_Footnotes {
* @since 1.5.0 * @since 1.5.0
* *
* @since 2.0.0 Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution. * @since 2.0.0 Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution.
* @since 2.0.3 add versioning of public.css for cache busting 2020-10-29T1413+0100 * @since 2.0.3 add versioning of public.css for cache busting
* @since 2.0.4 add jQuery UI from WordPress 2020-11-01T1902+0100 * @since 2.0.4 add jQuery UI from WordPress
* @since 2.1.4 automate passing version number for cache busting 2020-11-30T0646+0100 * @since 2.1.4 automate passing version number for cache busting
* @since 2.1.4 optionally enqueue an extra stylesheet 2020-12-04T2231+0100 * @since 2.1.4 optionally enqueue an extra stylesheet
*/ */
public function register_public() { public function register_public() {
@ -267,12 +264,10 @@ class MCI_Footnotes {
* Add versioning. * Add versioning.
* *
* @since 2.1.2 * @since 2.1.2
* @date 2020-11-18T2150+0100
* *
* No '-js' in the handle, is appended automatically. * No '-js' in the handle, is appended automatically.
* *
* Deferring to the footer breaks jQuery tooltip display. * Deferring to the footer breaks jQuery tooltip display.
* @date 2021-02-23T1105+0100
*/ */
wp_enqueue_script( wp_enqueue_script(
'mci-footnotes-jquery-tools', 'mci-footnotes-jquery-tools',
@ -303,8 +298,7 @@ class MCI_Footnotes {
* *
* Fetch jQuery UI from cdnjs.cloudflare.com. * Fetch jQuery UI from cdnjs.cloudflare.com.
* @since 2.0.0 * @since 2.0.0
* @date 2020-10-26T1907+0100 * @contributor @vonpiernik
* @contributor @vonpiernik
* @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762 * @link https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762
* *
* jQueryUI re-enables the tooltip infobox disabled when WPv5.5 was released. * @since 2.1.2 * jQueryUI re-enables the tooltip infobox disabled when WPv5.5 was released. * @since 2.1.2
@ -312,8 +306,7 @@ class MCI_Footnotes {
* - Update: Libraries: Load jQuery UI from WordPress, thanks to @check2020de issue report. * - Update: Libraries: Load jQuery UI from WordPress, thanks to @check2020de issue report.
* *
* @since 2.0.4 * @since 2.0.4
* @date 2020-11-01T1902+0100 * @reporter @check2020de
* @reporter @check2020de
* @link https://wordpress.org/support/topic/gdpr-issue-with-jquery/ * @link https://wordpress.org/support/topic/gdpr-issue-with-jquery/
* @link https://wordpress.stackexchange.com/questions/273986/correct-way-to-enqueue-jquery-ui * @link https://wordpress.stackexchange.com/questions/273986/correct-way-to-enqueue-jquery-ui
* *
@ -331,7 +324,6 @@ class MCI_Footnotes {
* Enables enqueuing a new-scheme stylesheet. * Enables enqueuing a new-scheme stylesheet.
* *
* @since 2.5.5 * @since 2.5.5
* @date 2021-02-14T1512+0100
* *
* Enables enqueuing the formatted individual stylesheets if false. * Enables enqueuing the formatted individual stylesheets if false.
* WARNING: This facility is designed for development and must NOT be used in production. * WARNING: This facility is designed for development and must NOT be used in production.
@ -348,7 +340,6 @@ class MCI_Footnotes {
* - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. * - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report.
* *
* @since 2.5.5 * @since 2.5.5
* @date 2021-02-14T1543+0100
* *
* @contributor @docteurfitness * @contributor @docteurfitness
* @link https://wordpress.org/support/topic/simply-speed-optimisation/ * @link https://wordpress.org/support/topic/simply-speed-optimisation/
@ -360,11 +351,9 @@ class MCI_Footnotes {
* @see class/dashboard/layout.php * @see class/dashboard/layout.php
* *
* @since 2.0.3 add versioning of public.css for cache busting. * @since 2.0.3 add versioning of public.css for cache busting.
* @date 2020-10-29T1413+0100
* Plugin version number is needed for busting browser caches after each plugin update. * Plugin version number is needed for busting browser caches after each plugin update.
* *
* @since 2.1.4 automate passing version number for cache busting. * @since 2.1.4 automate passing version number for cache busting.
* @date 2020-11-30T0646+0100
* The constant C_STR_PACKAGE_VERSION is defined at start of footnotes.php. * The constant C_STR_PACKAGE_VERSION is defined at start of footnotes.php.
* *
* The media scope argument 'all' is the default. * The media scope argument 'all' is the default.
@ -426,8 +415,7 @@ class MCI_Footnotes {
* Enqueues external stylesheets, ONLY in development now. * Enqueues external stylesheets, ONLY in development now.
* *
* @since 2.1.4 optionally enqueue an extra stylesheet. * @since 2.1.4 optionally enqueue an extra stylesheet.
* @date 2020-12-04T2231+0100 *
*
* This optional layout fix is useful by lack of layout support. * This optional layout fix is useful by lack of layout support.
*/ */
wp_enqueue_style( wp_enqueue_style(

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 17:47
* *
* @since 2.0.0 Bugfix: Localization: correct function call apply_filters() with all required arguments after PHP 7.1 promoted warning to error, thanks to @matkus2 bug report and code contribution. * @since 2.0.0 Bugfix: Localization: correct function call apply_filters() with all required arguments after PHP 7.1 promoted warning to error, thanks to @matkus2 bug report and code contribution.
* @since 2.1.6 Bugfix: Localization: conform to WordPress plugin language file name scheme, thanks to @nikelaos bug report. * @since 2.1.6 Bugfix: Localization: conform to WordPress plugin language file name scheme, thanks to @nikelaos bug report.
@ -37,7 +36,6 @@ class MCI_Footnotes_Language {
* - Bugfix: Correct function call apply_filters() with all required arguments after PHP 7.1 promoted warning to error, thanks to @matkus2 bug report and code contribution. * - Bugfix: Correct function call apply_filters() with all required arguments after PHP 7.1 promoted warning to error, thanks to @matkus2 bug report and code contribution.
* *
* @since 2.0.0 * @since 2.0.0
* @date 2020-10-26T1609+0100
* *
* @contributor @matkus2 * @contributor @matkus2
* @link https://wordpress.org/support/topic/error-missing-parameter-if-using-php-7-1-or-later/ * @link https://wordpress.org/support/topic/error-missing-parameter-if-using-php-7-1-or-later/
@ -81,7 +79,6 @@ class MCI_Footnotes_Language {
* - Bugfix: Localization: conform to WordPress plugin language file name scheme, thanks to @nikelaos bug report. * - Bugfix: Localization: conform to WordPress plugin language file name scheme, thanks to @nikelaos bug report.
* *
* @since 2.1.6 * @since 2.1.6
* @date 2020-12-08T1931+0100
* *
* @reporter @nikelaos * @reporter @nikelaos
* @link https://wordpress.org/support/topic/more-feature-ideas/ * @link https://wordpress.org/support/topic/more-feature-ideas/

View file

@ -5,12 +5,11 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 12.09.14 10:56
* *
* @since 2.1.2 add versioning of settings.css for cache busting 2020-11-19T1456+0100 * @since 2.1.2 add versioning of settings.css for cache busting
* @since 2.1.4 automate passing version number for cache busting 2020-11-30T0648+0100 * @since 2.1.4 automate passing version number for cache busting
* @since 2.1.4 optional step argument and support for floating in numbox 2020-12-05T0540+0100 * @since 2.1.4 optional step argument and support for floating in numbox
* @since 2.1.6 fix punctuation-related localization issue in dashboard labels 2020-12-08T1547+0100 * @since 2.1.6 fix punctuation-related localization issue in dashboard labels
* *
* @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. * @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report.
*/ */
@ -199,7 +198,6 @@ abstract class MCI_Footnotes_Layout_Engine {
* - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. * - Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report.
* *
* @since 2.5.5 * @since 2.5.5
* @date 2021-02-14T1928+0100
* *
* @reporter @docteurfitness * @reporter @docteurfitness
* @link https://wordpress.org/support/topic/simply-speed-optimisation/ * @link https://wordpress.org/support/topic/simply-speed-optimisation/
@ -556,7 +554,7 @@ abstract class MCI_Footnotes_Layout_Engine {
* @return string * @return string
* *
* Edited: * Edited:
* @since 2.1.4 step argument and number_format() to allow decimals 2020-12-03T0631+0100..2020-12-12T1110+0100 * @since 2.1.4 step argument and number_format() to allow decimals.
*/ */
protected function add_num_box( $p_str_setting_name, $p_in_min, $p_int_max, $p_bool_deci = false ) { protected function add_num_box( $p_str_setting_name, $p_in_min, $p_int_max, $p_bool_deci = false ) {
// Collect data for given settings field. // Collect data for given settings field.

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 14:47
*/ */
/** /**

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 12.09.14 10:26
*/ */
/** /**

View file

@ -4,39 +4,38 @@
* *
* @filesource * @filesource
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 14:47
* *
* @since 2.0.4 restore arrow settings 2020-11-01T0509+0100 * @since 2.0.4 restore arrow settings
* @since 2.1.0 read-on button label 2020-11-08T2148+0100 * @since 2.1.0 read-on button label
* @since 2.1.1 options for ref container and alternative tooltips 2020-11-16T2152+0100 * @since 2.1.1 options for ref container and alternative tooltips
* @since 2.1.1 Referrers: superscript becomes optional, thanks to @cwbayer bug report * @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 * @since 2.1.2 priority level settings for all other hooks, thanks to @nikelaos
* @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13676705 * @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13676705
* @since 2.1.4 settings for ref container, tooltips and scrolling 2020-12-03T0950+0100 * @since 2.1.4 settings for ref container, tooltips and scrolling
* @since 2.1.6 slight UI reordering 2020-12-09T1114+0100 * @since 2.1.6 slight UI reordering
* @since 2.1.6 option to disable URL line wrapping 2020-12-09T1604+0100 * @since 2.1.6 option to disable URL line wrapping
* @since 2.1.6 remove expert mode setting as outdated 2020-12-09T2105+0100 * @since 2.1.6 remove expert mode setting as outdated
* @since 2.2.0 start/end short codes: more predefined options, thanks to @nikelaos * @since 2.2.0 start/end short codes: more predefined options, thanks to @nikelaos
* @link https://wordpress.org/support/topic/doesnt-work-with-mailpoet/ * @link https://wordpress.org/support/topic/doesnt-work-with-mailpoet/
* @since 2.2.0 add options, redistribute, update strings 2020-12-12T2135+0100 * @since 2.2.0 add options, redistribute, update strings
* @since 2.2.0 shortcode for reference container custom position 2020-12-13T2055+0100 * @since 2.2.0 shortcode for reference container custom position
* @since 2.2.2 Custom CSS settings container migration 2020-12-15T0709+0100 * @since 2.2.2 Custom CSS settings container migration
* @since 2.2.4 move backlink symbol selection under previous tab 2020-12-16T1244+0100 * @since 2.2.4 move backlink symbol selection under previous tab
* @since 2.2.5 support for Ibid. notation thanks to @meglio 2020-12-17T2021+0100 * @since 2.2.5 support for Ibid. notation thanks to @meglio
* @link https://wordpress.org/support/topic/add-support-for-ibid-notation/ * @link https://wordpress.org/support/topic/add-support-for-ibid-notation/
* @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer 2020-12-18T1447+0100 * @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer
* @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/
* @since 2.2.10 reference container row border option, thanks to @noobishh 2020-12-25T2316+0100 * @since 2.2.10 reference container row border option, thanks to @noobishh
* @link https://wordpress.org/support/topic/borders-25/ * @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 * @since 2.3.0 Reference container: convert top padding to margin and make it a setting, thanks to @hamshe
* @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635 * @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635
* @since 2.3.0 rename Priority level tab as Scope and priority 2020-12-26T2222+0100 * @since 2.3.0 rename Priority level tab as Scope and priority
* @since 2.3.0 swap Custom CSS migration Boolean from 'migration complete' to 'show legacy' 2020-12-27T1243+0100 * @since 2.3.0 swap Custom CSS migration Boolean from 'migration complete' to 'show legacy'
* @since 2.3.0 mention op. cit. abbreviation 2020-12-28T2342+0100 * @since 2.3.0 mention op. cit. abbreviation
* @since 2.3.0 add settings for hard links, thanks to @psykonevro and @martinneumannat 2020-12-29T1322+0100 * @since 2.3.0 add settings for hard links, thanks to @psykonevro and @martinneumannat
* @link https://wordpress.org/support/topic/making-it-amp-compatible/ * @link https://wordpress.org/support/topic/making-it-amp-compatible/
* @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/ * @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/
* @since 2.4.0 footnote shortcode syntax validation 2021-01-01T0624+0100 * @since 2.4.0 footnote shortcode syntax validation
* @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra * @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra
* @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/ * @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/
*/ */
@ -200,8 +199,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* @since 1.5.0 * @since 1.5.0
* *
* Completed: * Completed:
* @since 2.1.4: layout and typography options 2020-11-30T0548+0100 * @since 2.1.4: layout and typography options
* @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer 2020-12-18T1447+0100 * @since 2.2.5 options for label element and label bottom border, thanks to @markhillyer
* @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/
*/ */
public function reference_container() { public function reference_container() {
@ -372,14 +371,14 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* *
* @since 1.5.0 * @since 1.5.0
* *
* Edited heading 2020-12-12T1412+0100 * Edited heading
* @since 2.2.0 start/end short codes: more predefined options 2020-12-12T1412+0100 * @since 2.2.0 start/end short codes: more predefined options
* @link https://wordpress.org/support/topic/doesnt-work-with-mailpoet/ * @link https://wordpress.org/support/topic/doesnt-work-with-mailpoet/
* @since 2.2.0 3 boxes for clarity 2020-12-12T1422+0100 * @since 2.2.0 3 boxes for clarity
* @since 2.2.5 support for Ibid. notation thanks to @meglio 2020-12-17T2019+0100 * @since 2.2.5 support for Ibid. notation thanks to @meglio
* @link https://wordpress.org/support/topic/add-support-for-ibid-notation/ * @link https://wordpress.org/support/topic/add-support-for-ibid-notation/
* @since 2.4.0 added warning about Block Editor escapement disruption 2021-01-02T2324+0100 * @since 2.4.0 added warning about Block Editor escapement disruption
* @since 2.4.0 removed the HTML comment tag option 2021-01-02T2325+0100 * @since 2.4.0 removed the HTML comment tag option
* @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra * @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra
* @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/ * @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/
*/ */
@ -616,8 +615,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* @since 1.5.0 * @since 1.5.0
* *
* Edited: * Edited:
* @since 2.2.0 position-sensitive placeholders to support more locales 2020-12-11T0432+0100 * @since 2.2.0 position-sensitive placeholders to support more locales
* @since 2.2.0 more options 2020-12-11T0432+0100 * @since 2.2.0 more options
*/ */
public function love() { public function love() {
// Options for the acknowledgment display in the footer. // Options for the acknowledgment display in the footer.
@ -665,11 +664,11 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* *
* @since 1.5.0 * @since 1.5.0
* *
* Edited heading 2020-12-12T1453+0100 * Edited heading
* @since 2.1.1 more settings and notices, thanks to @nikelaos * @since 2.1.1 more settings and notices, thanks to @nikelaos
* @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13687068 * @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13687068
* @link https://wordpress.org/support/topic/jquery-comes-up-in-feed-content/#post-13110879 * @link https://wordpress.org/support/topic/jquery-comes-up-in-feed-content/#post-13110879
* @since 2.2.0 dedicated to the excerpt setting and its notices 2020-12-12T1454+0100 * @since 2.2.0 dedicated to the excerpt setting and its notices
*/ */
public function excerpts() { public function excerpts() {
// Options for Yes/No select box. // Options for Yes/No select box.
@ -702,9 +701,9 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* *
* @since 1.5.0 * @since 1.5.0
* *
* Edited heading 2020-12-12T1513+0100 * Edited heading
* @since 2.1.1 option for superscript (optionally baseline referrers) * @since 2.1.1 option for superscript (optionally baseline referrers)
* @since 2.2.0 option for link element moved here 2020-12-12T1514+0100 * @since 2.2.0 option for link element moved here
*/ */
public function superscript() { public function superscript() {
// Options for Yes/No select box. // Options for Yes/No select box.
@ -1099,7 +1098,6 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* - Update: Restore arrow settings to customize or disable the now prepended arrow symbol, thanks to @mmallett issue report. * - Update: Restore arrow settings to customize or disable the now prepended arrow symbol, thanks to @mmallett issue report.
* *
* @since 2.0.4 * @since 2.0.4
* @date 2020-11-02T2115+0100
* *
* @reporter @mmallett * @reporter @mmallett
* @link https://wordpress.org/support/topic/mouse-over-broken/#post-13593037 * @link https://wordpress.org/support/topic/mouse-over-broken/#post-13593037
@ -1135,10 +1133,9 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* @since 2.1.6 drop localized notices for CSS classes as the number increased to 16 * @since 2.1.6 drop localized notices for CSS classes as the number increased to 16
* list directly in the template, as CSS is in English anyway * list directly in the template, as CSS is in English anyway
* @see templates/dashboard/customize-css.html * @see templates/dashboard/customize-css.html
* 2020-12-09T1113+0100
* *
* @since 2.2.2 migrate Custom CSS to a dedicated tab 2020-12-15T0506+0100 * @since 2.2.2 migrate Custom CSS to a dedicated tab
* @since 2.3.0 say 'copy-paste' instead of 'cut and paste' since cutting is not needed 2020-12-27T1257+0100 * @since 2.3.0 say 'copy-paste' instead of 'cut and paste' since cutting is not needed
* @since 2.5.1 mention validity while visible, thanks to @rkupadhya bug report * @since 2.5.1 mention validity while visible, thanks to @rkupadhya bug report
*/ */
public function custom_css() { public function custom_css() {
@ -1240,8 +1237,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* @since 1.5.5 * @since 1.5.5
* *
* Edited: * Edited:
* @since 2.1.1 priority level setting for the_content 2020-11-16T2152+0100 * @since 2.1.1 priority level setting for the_content
* @since 2.1.4 priority level settings for the other hooks 2020-11-19T1421+0100 * @since 2.1.4 priority level settings for the other hooks
* *
* priority level was initially hard-coded default * priority level was initially hard-coded default
* shows "9223372036854775807" in the numbox * shows "9223372036854775807" in the numbox
@ -1249,8 +1246,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
* but a numbox cannot be set to empty: <https://github.com/Modernizr/Modernizr/issues/171> * but a numbox cannot be set to empty: <https://github.com/Modernizr/Modernizr/issues/171>
* define -1 as PHP_INT_MAX instead * define -1 as PHP_INT_MAX instead
* *
* @since 2.2.9 removed the warning about the widget text hook 2020-12-25T0348+0100 * @since 2.2.9 removed the warning about the widget text hook
* @since 2.2.9 added guidance for the widget text hook 2020-12-25T0353+0100 * @since 2.2.9 added guidance for the widget text hook
*/ */
public function lookup_hooks() { public function lookup_hooks() {
// Load template file. // Load template file.

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 10:43
* *
* The constants are ordered by ascending version so their docblocks can replace most of this list. * The constants are ordered by ascending version so their docblocks can replace most of this list.
* @since 2.0.0 Update: **symbol for backlinks** removed; hyperlink moved to the reference number. * @since 2.0.0 Update: **symbol for backlinks** removed; hyperlink moved to the reference number.
@ -106,7 +105,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/mouse-over-broken/#post-13593037 * @link https://wordpress.org/support/topic/mouse-over-broken/#post-13593037
* *
* @since 2.0.4 * @since 2.0.4
* @date 2020-11-02T2115+0100
* @var str * @var str
*/ */
const C_STR_HYPERLINK_ARROW = 'footnote_inputfield_custom_hyperlink_symbol'; const C_STR_HYPERLINK_ARROW = 'footnote_inputfield_custom_hyperlink_symbol';
@ -288,11 +286,9 @@ class MCI_Footnotes_Settings {
* @var str * @var str
* *
* @since 2.1.6 This setting removed as irrelevant since priority level settings need permanent visibility. * @since 2.1.6 This setting removed as irrelevant since priority level settings need permanent visibility.
* @date 2020-12-09T2107+0100
* *
* Since the removal of the the_post hook, the tab is no danger zone any longer. * Since the removal of the the_post hook, the tab is no danger zone any longer.
* All users, not experts only, need to be able to control relative positioning. * All users, not experts only, need to be able to control relative positioning.
* @date 2020-11-06T1342+0100
*/ */
const C_STR_FOOTNOTES_EXPERT_MODE = 'footnote_inputfield_enable_expert_mode'; const C_STR_FOOTNOTES_EXPERT_MODE = 'footnote_inputfield_enable_expert_mode';
@ -422,7 +418,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/offset-x-axis-and-offset-y-axis-does-not-working/ * @link https://wordpress.org/support/topic/offset-x-axis-and-offset-y-axis-does-not-working/
* *
* @since 2.1.0 * @since 2.1.0
* @date 2020-11-08T2106+0100
* @var str * @var str
*/ */
const C_STR_FOOTNOTES_TOOLTIP_READON_LABEL = 'footnote_inputfield_readon_label'; const C_STR_FOOTNOTES_TOOLTIP_READON_LABEL = 'footnote_inputfield_readon_label';
@ -436,7 +431,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/footnotes-appearing-in-header/page/2/#post-13632566 * @link https://wordpress.org/support/topic/footnotes-appearing-in-header/page/2/#post-13632566
* *
* @since 2.1.1 * @since 2.1.1
* @date 2020-11-11T1817+0100
* @var str * @var str
* *
* These alternative tooltips work around a website related jQuery UI * These alternative tooltips work around a website related jQuery UI
@ -455,7 +449,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/footnote-number-in-text-superscript-disrupts-leading/ * @link https://wordpress.org/support/topic/footnote-number-in-text-superscript-disrupts-leading/
* *
* @since 2.1.1 * @since 2.1.1
* @date 2020-11-16T0859+0100
* @var str * @var str
*/ */
const C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS = 'footnotes_inputfield_referrer_superscript_tags'; const C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS = 'footnotes_inputfield_referrer_superscript_tags';
@ -469,7 +462,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/change-the-position-5/page/2/#post-13671138 * @link https://wordpress.org/support/topic/change-the-position-5/page/2/#post-13671138
* *
* @since 2.1.1 * @since 2.1.1
* @date 2020-11-16T2021+0100
* @var str * @var str
*/ */
const C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE = 'footnotes_inputfield_reference_container_backlink_symbol_enable'; const C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE = 'footnotes_inputfield_reference_container_backlink_symbol_enable';
@ -506,7 +498,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/change-the-position-5/#post-13615994 * @link https://wordpress.org/support/topic/change-the-position-5/#post-13615994
* *
* @since 2.1.1 * @since 2.1.1
* @date 2020-11-16T2024+0100
* @var str * @var str
*/ */
const C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH = 'footnotes_inputfield_reference_container_backlink_symbol_switch'; const C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH = 'footnotes_inputfield_reference_container_backlink_symbol_switch';
@ -526,7 +517,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/change-the-position-5/#post-13538345 * @link https://wordpress.org/support/topic/change-the-position-5/#post-13538345
* *
* @since 2.0.5 * @since 2.0.5
* @date 2020-11-02T0330+0100
* @link https://codex.wordpress.org/Plugin_API/#Hook_in_your_Filter * @link https://codex.wordpress.org/Plugin_API/#Hook_in_your_Filter
* *
* - Bugfix: Dashboard: priority level setting for the_content hook, thanks to @imeson bug report. * - Bugfix: Dashboard: priority level setting for the_content hook, thanks to @imeson bug report.
@ -535,7 +525,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/change-the-position-5/#post-13538345 * @link https://wordpress.org/support/topic/change-the-position-5/#post-13538345
* *
* @since 2.1.1 * @since 2.1.1
* @date 2020-11-16T0859+0100
* *
* - Bugfix: Priority levels: set the_content priority level to 98 to prevent plugin conflict, thanks to @marthalindeman bug report. * - Bugfix: Priority levels: set the_content priority level to 98 to prevent plugin conflict, thanks to @marthalindeman bug report.
* *
@ -543,7 +532,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/code-showing-up-in-references/ * @link https://wordpress.org/support/topic/code-showing-up-in-references/
* *
* @since 2.1.6 * @since 2.1.6
* @date 2020-12-10T0447+0100
* *
* Priority level of the_content and of widget_text as the only relevant * Priority level of the_content and of widget_text as the only relevant
* hooks must be less than 99 because social buttons may yield scripts * hooks must be less than 99 because social buttons may yield scripts
@ -573,7 +561,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13676705 * @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13676705
* *
* @since 2.1.2 * @since 2.1.2
* @date 2020-11-20T0620+0100
* @var int * @var int
*/ */
const C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_title_priority_level'; const C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_title_priority_level';
@ -582,7 +569,6 @@ class MCI_Footnotes_Settings {
* Settings container key for 'widget_title' hook priority level. * Settings container key for 'widget_title' hook priority level.
* *
* @since 2.1.2 * @since 2.1.2
* @date 2020-11-20T0620+0100
* @var int * @var int
*/ */
const C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_title_priority_level'; const C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_title_priority_level';
@ -591,7 +577,6 @@ class MCI_Footnotes_Settings {
* Settings container key for 'widget_text' hook priority level. * Settings container key for 'widget_text' hook priority level.
* *
* @since 2.1.2 * @since 2.1.2
* @date 2020-11-20T0620+0100
* @var int * @var int
*/ */
const C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_text_priority_level'; const C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_text_priority_level';
@ -600,7 +585,6 @@ class MCI_Footnotes_Settings {
* Settings container key for 'the_excerpt' hook priority level. * Settings container key for 'the_excerpt' hook priority level.
* *
* @since 2.1.2 * @since 2.1.2
* @date 2020-11-20T0620+0100
* @var int * @var int
*/ */
const C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_excerpt_priority_level'; const C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_excerpt_priority_level';
@ -735,7 +719,6 @@ class MCI_Footnotes_Settings {
* Settings container key to enable setting the tooltip font size. * Settings container key to enable setting the tooltip font size.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-04T1023+0100.
* @var str * @var str
* *
* Tooltip font size reset to legacy by default since 2.1.4; * Tooltip font size reset to legacy by default since 2.1.4;
@ -775,7 +758,6 @@ class MCI_Footnotes_Settings {
* - Bugfix: Scroll offset: make configurable to fix site-dependent issues related to fixed headers. * - Bugfix: Scroll offset: make configurable to fix site-dependent issues related to fixed headers.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-05T0538+0100
* @var int * @var int
*/ */
const C_INT_FOOTNOTES_SCROLL_OFFSET = 'footnotes_inputfield_scroll_offset'; const C_INT_FOOTNOTES_SCROLL_OFFSET = 'footnotes_inputfield_scroll_offset';
@ -786,7 +768,6 @@ class MCI_Footnotes_Settings {
* - Bugfix: Scroll duration: make configurable to conform to website content and style requirements. * - Bugfix: Scroll duration: make configurable to conform to website content and style requirements.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-05T0538+0100
* @var int * @var int
*/ */
const C_INT_FOOTNOTES_SCROLL_DURATION = 'footnotes_inputfield_scroll_duration'; const C_INT_FOOTNOTES_SCROLL_DURATION = 'footnotes_inputfield_scroll_duration';
@ -795,7 +776,6 @@ class MCI_Footnotes_Settings {
* Settings container key for tooltip display fade-in delay. * Settings container key for tooltip display fade-in delay.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-05T0538+0100
* @var int * @var int
*/ */
const C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY = 'footnotes_inputfield_mouse_over_box_fade_in_delay'; const C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY = 'footnotes_inputfield_mouse_over_box_fade_in_delay';
@ -804,7 +784,6 @@ class MCI_Footnotes_Settings {
* Settings container key for tooltip display fade-in duration. * Settings container key for tooltip display fade-in duration.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-05T0538+0100
* @var int * @var int
*/ */
const C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION = 'footnotes_inputfield_mouse_over_box_fade_in_duration'; const C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION = 'footnotes_inputfield_mouse_over_box_fade_in_duration';
@ -813,7 +792,6 @@ class MCI_Footnotes_Settings {
* Settings container key for tooltip display fade-out delay. * Settings container key for tooltip display fade-out delay.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-05T0538+0100
* @var int * @var int
*/ */
const C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY = 'footnotes_inputfield_mouse_over_box_fade_out_delay'; const C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY = 'footnotes_inputfield_mouse_over_box_fade_out_delay';
@ -822,7 +800,6 @@ class MCI_Footnotes_Settings {
* Settings container key for tooltip display fade-out duration. * Settings container key for tooltip display fade-out duration.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-05T0538+0100
* @var int * @var int
*/ */
const C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION = 'footnotes_inputfield_mouse_over_box_fade_out_duration'; const C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION = 'footnotes_inputfield_mouse_over_box_fade_out_duration';
@ -834,7 +811,6 @@ class MCI_Footnotes_Settings {
* Unicode-compliant browsers break URLs at slashes. * Unicode-compliant browsers break URLs at slashes.
* *
* @since 2.1.6 * @since 2.1.6
* @date 2020-12-09T1606+0100
* @var str * @var str
*/ */
const C_STR_FOOTNOTE_URL_WRAP_ENABLED = 'footnote_inputfield_url_wrap_enabled'; const C_STR_FOOTNOTE_URL_WRAP_ENABLED = 'footnote_inputfield_url_wrap_enabled';
@ -848,7 +824,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/reference-container-in-elementor/ * @link https://wordpress.org/support/topic/reference-container-in-elementor/
* *
* @since 2.2.0 * @since 2.2.0
* @date 2020-12-13T2056+0100
* @var str * @var str
*/ */
const C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE = 'footnote_inputfield_reference_container_position_shortcode'; const C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE = 'footnote_inputfield_reference_container_position_shortcode';
@ -859,7 +834,6 @@ class MCI_Footnotes_Settings {
* - Update: Dashboard: Custom CSS: unearth text area and migrate to dedicated tab as designed. * - Update: Dashboard: Custom CSS: unearth text area and migrate to dedicated tab as designed.
* *
* @since 2.2.2 * @since 2.2.2
* @date 2020-12-15T0520+0100
* @var str * @var str
*/ */
const C_STR_CUSTOM_CSS_NEW = 'footnote_inputfield_custom_css_new'; const C_STR_CUSTOM_CSS_NEW = 'footnote_inputfield_custom_css_new';
@ -868,13 +842,11 @@ class MCI_Footnotes_Settings {
* Settings container key to enable display of legacy Custom CSS metaboxes. * Settings container key to enable display of legacy Custom CSS metaboxes.
* *
* @since 2.2.2 * @since 2.2.2
* @date 2020-12-15T0520+0100
* @var str * @var str
* *
* - Bugfix: Dashboard: Custom CSS: swap migration Boolean, meaning 'show legacy' instead of 'migration complete', due to storage data structure constraints. * - Bugfix: Dashboard: Custom CSS: swap migration Boolean, meaning 'show legacy' instead of 'migration complete', due to storage data structure constraints.
* *
* @since 2.3.0 * @since 2.3.0
* @date 2020-12-27T1233+0100
* *
* The Boolean must be false if its setting is contained in the container to be hidden, * The Boolean must be false if its setting is contained in the container to be hidden,
* because when saving, all missing constants are emptied, and to_bool() converts empty to false. * because when saving, all missing constants are emptied, and to_bool() converts empty to false.
@ -885,7 +857,6 @@ class MCI_Footnotes_Settings {
* Settings container key for alternative tooltip position. * Settings container key for alternative tooltip position.
* *
* @since 2.2.5 * @since 2.2.5
* @date 2020-12-17T0746+0100
* @var str * @var str
* *
* Fixed width is for alternative tooltips, cannot reuse max-width nor offsets. * Fixed width is for alternative tooltips, cannot reuse max-width nor offsets.
@ -896,7 +867,6 @@ class MCI_Footnotes_Settings {
* Settings container key for alternative tooltip x offset. * Settings container key for alternative tooltip x offset.
* *
* @since 2.2.5 * @since 2.2.5
* @date 2020-12-17T0746+0100
* @var int * @var int
*/ */
const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X = 'footnotes_inputfield_alternative_mouse_over_box_offset_x'; const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X = 'footnotes_inputfield_alternative_mouse_over_box_offset_x';
@ -905,7 +875,6 @@ class MCI_Footnotes_Settings {
* Settings container key for alternative tooltip y offset. * Settings container key for alternative tooltip y offset.
* *
* @since 2.2.5 * @since 2.2.5
* @date 2020-12-17T0746+0100
* @var int * @var int
*/ */
const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y = 'footnotes_inputfield_alternative_mouse_over_box_offset_y'; const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y = 'footnotes_inputfield_alternative_mouse_over_box_offset_y';
@ -914,7 +883,6 @@ class MCI_Footnotes_Settings {
* Settings container key for alternative tooltip width. * Settings container key for alternative tooltip width.
* *
* @since 2.2.5 * @since 2.2.5
* @date 2020-12-17T0746+0100
* @var int * @var int
*/ */
const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH = 'footnotes_inputfield_alternative_mouse_over_box_width'; const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH = 'footnotes_inputfield_alternative_mouse_over_box_width';
@ -929,7 +897,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/
* *
* @since 2.2.5 * @since 2.2.5
* @date 2020-12-18T1509+0100
* @var str * @var str
*/ */
const C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT = 'footnotes_inputfield_reference_container_label_element'; const C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT = 'footnotes_inputfield_reference_container_label_element';
@ -943,7 +910,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/
* *
* @since 2.2.5 * @since 2.2.5
* @date 2020-12-18T1509+0100
* @var str * @var str
*/ */
const C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER = 'footnotes_inputfield_reference_container_label_bottom_border'; const C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER = 'footnotes_inputfield_reference_container_label_bottom_border';
@ -957,7 +923,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/borders-25/ * @link https://wordpress.org/support/topic/borders-25/
* *
* @since 2.2.10 * @since 2.2.10
* @date 2020-12-25T2311+0100
* @var str * @var str
*/ */
const C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE = 'footnotes_inputfield_reference_container_row_borders_enable'; const C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE = 'footnotes_inputfield_reference_container_row_borders_enable';
@ -971,7 +936,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635 * @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635
* *
* @since 2.3.0 * @since 2.3.0
* @date 2020-12-29T0914+0100
* @var int * @var int
*/ */
const C_INT_REFERENCE_CONTAINER_TOP_MARGIN = 'footnotes_inputfield_reference_container_top_margin'; const C_INT_REFERENCE_CONTAINER_TOP_MARGIN = 'footnotes_inputfield_reference_container_top_margin';
@ -985,7 +949,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635 * @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635
* *
* @since 2.3.0 * @since 2.3.0
* @date 2020-12-29T0914+0100
* @var int * @var int
*/ */
const C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN = 'footnotes_inputfield_reference_container_bottom_margin'; const C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN = 'footnotes_inputfield_reference_container_bottom_margin';
@ -1002,7 +965,6 @@ class MCI_Footnotes_Settings {
* @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/ * @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/
* *
* @since 2.3.0 * @since 2.3.0
* @date 2020-12-29T0914+0100
* @var str * @var str
* *
* When the alternative reference container is enabled, hard links are too. * When the alternative reference container is enabled, hard links are too.
@ -1013,7 +975,6 @@ class MCI_Footnotes_Settings {
* Settings container key for the fragment ID slug in referrers. * Settings container key for the fragment ID slug in referrers.
* *
* @since 2.3.0 * @since 2.3.0
* @date 2020-12-29T0914+0100
* @var str * @var str
*/ */
const C_STR_REFERRER_FRAGMENT_ID_SLUG = 'footnotes_inputfield_referrer_fragment_id_slug'; const C_STR_REFERRER_FRAGMENT_ID_SLUG = 'footnotes_inputfield_referrer_fragment_id_slug';
@ -1022,7 +983,6 @@ class MCI_Footnotes_Settings {
* Settings container key for the fragment ID slug in footnotes. * Settings container key for the fragment ID slug in footnotes.
* *
* @since 2.3.0 * @since 2.3.0
* @date 2020-12-29T0914+0100
* @var str * @var str
*/ */
const C_STR_FOOTNOTE_FRAGMENT_ID_SLUG = 'footnotes_inputfield_footnote_fragment_id_slug'; const C_STR_FOOTNOTE_FRAGMENT_ID_SLUG = 'footnotes_inputfield_footnote_fragment_id_slug';
@ -1031,7 +991,6 @@ class MCI_Footnotes_Settings {
* Settings container key for the ID separator in fragment IDs. * Settings container key for the ID separator in fragment IDs.
* *
* @since 2.3.0 * @since 2.3.0
* @date 2020-12-29T0914+0100
* @var str * @var str
*/ */
const C_STR_HARD_LINK_IDS_SEPARATOR = 'footnotes_inputfield_hard_link_ids_separator'; const C_STR_HARD_LINK_IDS_SEPARATOR = 'footnotes_inputfield_hard_link_ids_separator';
@ -1040,7 +999,6 @@ class MCI_Footnotes_Settings {
* Settings container key to enable shortcode syntax validation. * Settings container key to enable shortcode syntax validation.
* *
* @since 2.4.0 * @since 2.4.0
* @date 2021-01-01T0616+0100
* @var str * @var str
*/ */
const C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE = 'footnotes_inputfield_shortcode_syntax_validation_enable'; const C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE = 'footnotes_inputfield_shortcode_syntax_validation_enable';
@ -1247,7 +1205,7 @@ class MCI_Footnotes_Settings {
* @var array * @var array
* *
* Edited. * Edited.
* 2.2.2 added tab for Custom CSS 2020-12-15T0740+0100 * 2.2.2 added tab for Custom CSS
* *
* These are the storage container names, one per dashboard tab. * These are the storage container names, one per dashboard tab.
*/ */
@ -1588,7 +1546,6 @@ class MCI_Footnotes_Settings {
* @since 2.2.0 this function is not called any longer when deleting the plugin, * @since 2.2.0 this function is not called any longer when deleting the plugin,
* to protect user data against loss, since manually updating a plugin is safer * to protect user data against loss, since manually updating a plugin is safer
* done by deleting and reinstalling (see the warning about database backup). * done by deleting and reinstalling (see the warning about database backup).
* 2020-12-13T1353+0100
*/ */
public function clear_all() { public function clear_all() {
// Iterate through each Settings Container. // Iterate through each Settings Container.

View file

@ -6,8 +6,6 @@
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* *
* @lastmodified 2021-02-20T0438+0100
*
* @since 2.0.0 Bugfix: various. * @since 2.0.0 Bugfix: various.
* @since 2.0.4 Bugfix: Referrers and backlinks: remove hard links to streamline browsing history, thanks to @theroninjedi47 bug report. * @since 2.0.4 Bugfix: Referrers and backlinks: remove hard links to streamline browsing history, thanks to @theroninjedi47 bug report.
* @since 2.0.5 Bugfix: Reference container: fix relative position through priority level, thanks to @june01 @imeson @spaceling bug reports, thanks to @spaceling code contribution. * @since 2.0.5 Bugfix: Reference container: fix relative position through priority level, thanks to @june01 @imeson @spaceling bug reports, thanks to @spaceling code contribution.
@ -16,7 +14,7 @@
* @since 2.0.6 Bugfix: Priority level back to PHP_INT_MAX (ref container positioning not this plugins responsibility). * @since 2.0.6 Bugfix: Priority level back to PHP_INT_MAX (ref container positioning not this plugins responsibility).
* @since 2.0.6 Bugfix: Reference container: fix line breaking behavior in footnote number clusters. * @since 2.0.6 Bugfix: Reference container: fix line breaking behavior in footnote number clusters.
* @since 2.0.7 BUGFIX: Hooks: Default-disable 'the_post', thanks to @spaceling @markcheret @nyamachi @whichgodsaves @spiralofhope2 @mmallett @andreasra @widecast @ymorin007 @tashi1es bug reports. * @since 2.0.7 BUGFIX: Hooks: Default-disable 'the_post', thanks to @spaceling @markcheret @nyamachi @whichgodsaves @spiralofhope2 @mmallett @andreasra @widecast @ymorin007 @tashi1es bug reports.
* @since 2.0.9 Bugfix: Remove the_post hook 2020-11-08T1839+0100. * @since 2.0.9 Bugfix: Remove the_post hook.
* @since 2.1.0 Adding: Tooltips: Read-on button: Label: configurable instead of localizable, thanks to @rovanov example provision. * @since 2.1.0 Adding: Tooltips: Read-on button: Label: configurable instead of localizable, thanks to @rovanov example provision.
* @since 2.1.1 Bugfix: Referrers, reference container: Combining identical footnotes: fix dead links and ensure referrer-backlink bijectivity, thanks to @happyches bug report. * @since 2.1.1 Bugfix: Referrers, reference container: Combining identical footnotes: fix dead links and ensure referrer-backlink bijectivity, thanks to @happyches bug report.
* @since 2.1.1 Bugfix: Reference container: fix start pages by making its display optional, thanks to @dragon013 bug report. * @since 2.1.1 Bugfix: Reference container: fix start pages by making its display optional, thanks to @dragon013 bug report.
@ -149,7 +147,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/reset-footnotes-to-1/#post-13662830 * @link https://wordpress.org/support/topic/reset-footnotes-to-1/#post-13662830
* *
* @since 2.2.9 * @since 2.2.9
* @date 2020-12-25T0338+0100
* @var int Incremented every time after a reference container is inserted. * @var int Incremented every time after a reference container is inserted.
* *
* This ID disambiguates multiple reference containers in a page * This ID disambiguates multiple reference containers in a page
@ -222,7 +219,6 @@ class MCI_Footnotes_Task {
* - Bugfix: Scroll offset: make configurable to fix site-dependent issues related to fixed headers. * - Bugfix: Scroll offset: make configurable to fix site-dependent issues related to fixed headers.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-05T0538+0100
* *
* - Bugfix: Scroll offset: initialize to safer one third window height for more robustness, thanks to @lukashuggenberg bug report. * - Bugfix: Scroll offset: initialize to safer one third window height for more robustness, thanks to @lukashuggenberg bug report.
* *
@ -230,8 +226,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/2-2-6-breaks-all-footnotes/#post-13857922 * @link https://wordpress.org/support/topic/2-2-6-breaks-all-footnotes/#post-13857922
* *
* @since 2.4.0 * @since 2.4.0
* @date 2021-01-03T2055+0100
* @date 2021-01-04T0504+0100
* @var int * @var int
* *
* Websites may use high fixed headers not contracting at scroll. * Websites may use high fixed headers not contracting at scroll.
@ -254,8 +248,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/update-2-1-3/#post-13704194 * @link https://wordpress.org/support/topic/update-2-1-3/#post-13704194
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-11-25T1306+0100
* @date 2020-11-26T1051+0100
* *
* - Adding: Referrers and backlinks: optional hard links for AMP compatibility, thanks to @psykonevro issue report, thanks to @martinneumannat issue report and code contribution. * - Adding: Referrers and backlinks: optional hard links for AMP compatibility, thanks to @psykonevro issue report, thanks to @martinneumannat issue report and code contribution.
* *
@ -266,7 +258,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/ * @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/
* *
* @since 2.3.0 * @since 2.3.0
* @date 2020-12-30T2313+0100
* *
* Although widely used for that purpose, hyperlinks are disliked for footnote linking. * Although widely used for that purpose, hyperlinks are disliked for footnote linking.
* Browsers may need to be prevented from logging these clicks in the browsing history, * Browsers may need to be prevented from logging these clicks in the browsing history,
@ -320,7 +311,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/change-tooltip-text/ * @link https://wordpress.org/support/topic/change-tooltip-text/
* *
* @since 2.5.2 * @since 2.5.2
* @date 2021-01-19T2223+0100
* *
* Tooltips can display another content than the footnote entry * Tooltips can display another content than the footnote entry
* in the reference container. The trigger is a shortcode in * in the reference container. The trigger is a shortcode in
@ -394,7 +384,6 @@ class MCI_Footnotes_Task {
* - Adding: Footnote delimiters: syntax validation for balanced footnote start and end tag short codes. * - Adding: Footnote delimiters: syntax validation for balanced footnote start and end tag short codes.
* *
* @since 2.4.0 * @since 2.4.0
* @date 2021-01-01T0227+0100
* *
* @var bool * @var bool
* *
@ -418,7 +407,7 @@ class MCI_Footnotes_Task {
* @since 2.0.5 Update: Hooks: Default-enable all hooks to prevent footnotes from seeming broken in some parts. * @since 2.0.5 Update: Hooks: Default-enable all hooks to prevent footnotes from seeming broken in some parts.
* @since 2.0.6 Bugfix: Priority level back to PHP_INT_MAX (ref container positioning not this plugins responsibility). * @since 2.0.6 Bugfix: Priority level back to PHP_INT_MAX (ref container positioning not this plugins responsibility).
* @since 2.0.7 BUGFIX: Hooks: Default-disable 'the_post', thanks to @spaceling @markcheret @nyamachi @whichgodsaves @spiralofhope2 @mmallett @andreasra @widecast @ymorin007 @tashi1es bug reports. * @since 2.0.7 BUGFIX: Hooks: Default-disable 'the_post', thanks to @spaceling @markcheret @nyamachi @whichgodsaves @spiralofhope2 @mmallett @andreasra @widecast @ymorin007 @tashi1es bug reports.
* @since 2.0.7 Bugfix: Set priority level back to 10 assuming it is unproblematic 2020-11-06T1344+0100. * @since 2.0.7 Bugfix: Set priority level back to 10 assuming it is unproblematic.
* @since 2.0.8 Bugfix: Priority level back to PHP_INT_MAX (need to get in touch with other plugins). * @since 2.0.8 Bugfix: Priority level back to PHP_INT_MAX (need to get in touch with other plugins).
* @since 2.1.0 UPDATE: Hooks: remove 'the_post', the plugin stops supporting this hook. * @since 2.1.0 UPDATE: Hooks: remove 'the_post', the plugin stops supporting this hook.
* @since 2.1.1 Bugfix: Dashboard: priority level setting for the_content hook, thanks to @imeson bug report. * @since 2.1.1 Bugfix: Dashboard: priority level setting for the_content hook, thanks to @imeson bug report.
@ -468,7 +457,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/footnote-doesntwork-on-category-page/#post-13864859 * @link https://wordpress.org/support/topic/footnote-doesntwork-on-category-page/#post-13864859
* *
* @since 2.5.0 * @since 2.5.0
* @date 2021-01-05T1402+0100
* *
* Category pages can have rich HTML content in a term description with article status. * Category pages can have rich HTML content in a term description with article status.
* For this to happen, WordPress built-in partial HTML blocker needs to be disabled. * For this to happen, WordPress built-in partial HTML blocker needs to be disabled.
@ -485,7 +473,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/footnotes-use-in-popup-maker/ * @link https://wordpress.org/support/topic/footnotes-use-in-popup-maker/
* *
* @since 2.5.1 * @since 2.5.1
* @date 2021-01-18T2038+0100
*/ */
add_filter( 'pum_popup_content', array( $this, 'footnotes_in_content' ), $l_int_the_content_priority ); add_filter( 'pum_popup_content', array( $this, 'footnotes_in_content' ), $l_int_the_content_priority );
} }
@ -561,7 +548,6 @@ class MCI_Footnotes_Task {
* - UPDATE: Hooks: remove 'the_post', the plugin stops supporting this hook. * - UPDATE: Hooks: remove 'the_post', the plugin stops supporting this hook.
* *
* @since 2.1.0 * @since 2.1.0
* @date 2020-11-08T1839+0100
* @accountable @pewgeuges * @accountable @pewgeuges
*/ */
@ -617,7 +603,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/in-line-superscript-ref-rides-to-high/ * @link https://wordpress.org/support/topic/in-line-superscript-ref-rides-to-high/
* *
* @since 2.5.4 * @since 2.5.4
* @date 2021-02-12T1631+0100
* *
* Cannot be included in external stylesheet, as it is only optional. * Cannot be included in external stylesheet, as it is only optional.
* The scope is variable too: referrers only, or all superscript elements. * The scope is variable too: referrers only, or all superscript elements.
@ -675,8 +660,7 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/ * @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/
* *
* @since 2.2.5 * @since 2.2.5
* @date 2020-12-18T1447+0100 */
*/
if ( MCI_Footnotes_Convert::to_bool( MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER ) ) ) { if ( MCI_Footnotes_Convert::to_bool( MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER ) ) ) {
echo '.footnote_container_prepare > '; echo '.footnote_container_prepare > ';
echo MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT ); echo MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT );
@ -692,7 +676,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/borders-25/ * @link https://wordpress.org/support/topic/borders-25/
* *
* @since 2.2.10 * @since 2.2.10
* @date 2020-12-25T2304+0100
* Moving this internal CSS to external using `wp_add_inline_style()` is * Moving this internal CSS to external using `wp_add_inline_style()` is
* discouraged, because that screws up support, and it is pointless from * discouraged, because that screws up support, and it is pointless from
* a performance point of view. Moreover, that would cause cache busting * a performance point of view. Moreover, that would cause cache busting
@ -788,7 +771,6 @@ class MCI_Footnotes_Task {
* - Bugfix: Styling: Tooltips: fix font size issue by adding font size to settings with legacy as default. * - Bugfix: Styling: Tooltips: fix font size issue by adding font size to settings with legacy as default.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-03T0954+0100
*/ */
echo ' font-size: '; echo ' font-size: ';
if ( MCI_Footnotes_Convert::to_bool( MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED ) ) ) { if ( MCI_Footnotes_Convert::to_bool( MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_MOUSE_OVER_BOX_FONT_SIZE_ENABLED ) ) ) {
@ -855,12 +837,10 @@ class MCI_Footnotes_Task {
* - Bugfix: Tooltips: make display delays and fade durations configurable to conform to website style. * - Bugfix: Tooltips: make display delays and fade durations configurable to conform to website style.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-12-06T1320+0100
* *
* - Update: Tooltips: Alternative tooltips: connect to position/timing settings (for themes not supporting jQuery tooltips). * - Update: Tooltips: Alternative tooltips: connect to position/timing settings (for themes not supporting jQuery tooltips).
* *
* @since 2.2.5 * @since 2.2.5
* @date 2020-12-18T1113+0100
*/ */
if ( ! MCI_Footnotes::$a_bool_alternative_tooltips_enabled && ! MCI_Footnotes::$a_bool_amp_enabled ) { if ( ! MCI_Footnotes::$a_bool_alternative_tooltips_enabled && ! MCI_Footnotes::$a_bool_amp_enabled ) {
@ -954,7 +934,7 @@ class MCI_Footnotes_Task {
* Alternative tooltips. * Alternative tooltips.
* *
* To streamline internal CSS, immutable rules are in external stylesheet. * To streamline internal CSS, immutable rules are in external stylesheet.
* *
* @see dev-tooltips-alternative.css. * @see dev-tooltips-alternative.css.
*/ */
} else { } else {
@ -978,7 +958,6 @@ class MCI_Footnotes_Task {
* - Bugfix: Custom CSS: insert new CSS in the public page header element after existing CSS. * - Bugfix: Custom CSS: insert new CSS in the public page header element after existing CSS.
* *
* @since 2.2.3 * @since 2.2.3
* @date 2020-12-15T1128+0100
* *
* Set custom CSS to override settings, not conversely. * Set custom CSS to override settings, not conversely.
* Legacy Custom CSS is used until its set to disappear after dashboard tab migration. * Legacy Custom CSS is used until its set to disappear after dashboard tab migration.
@ -1029,7 +1008,6 @@ class MCI_Footnotes_Task {
* *
* @since 1.5.0 * @since 1.5.0
* @since 2.2.0 More options. * @since 2.2.0 More options.
* @date 2020-12-11T0506+0100
*/ */
public function footnotes_output_footer() { public function footnotes_output_footer() {
if ( 'footer' === MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION ) ) { if ( 'footer' === MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION ) ) {
@ -1355,7 +1333,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/reference-container-in-elementor/ * @link https://wordpress.org/support/topic/reference-container-in-elementor/
* *
* @since 2.2.0 * @since 2.2.0
* @date 2020-12-13T2057+0100
* *
* - Bugfix: Reference container: delete position shortcode if unused because position may be widget or footer, thanks to @hamshe bug report. * - Bugfix: Reference container: delete position shortcode if unused because position may be widget or footer, thanks to @hamshe bug report.
* *
@ -1363,7 +1340,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13784126 * @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13784126
* *
* @since 2.2.5 * @since 2.2.5
* @date 2020-12-18T1434+0100
*/ */
// Append the reference container or insert at shortcode. // Append the reference container or insert at shortcode.
$l_str_reference_container_position_shortcode = MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE ); $l_str_reference_container_position_shortcode = MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE );
@ -1522,7 +1498,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/ * @link https://wordpress.org/support/topic/warning-unbalanced-footnote-start-tag-short-code-before/
* *
* @since 2.5.0 * @since 2.5.0
* @date 2021-01-07T0824+0100
* If footnotes short codes are unbalanced, and syntax validation is not disabled, * If footnotes short codes are unbalanced, and syntax validation is not disabled,
* prepend a warning to the content; displays de facto beneath the post title. * prepend a warning to the content; displays de facto beneath the post title.
*/ */
@ -1779,13 +1754,11 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/footnotes-on-mobile-phones/ * @link https://wordpress.org/support/topic/footnotes-on-mobile-phones/
* *
* @since 2.1.3 * @since 2.1.3
* @date 2020-11-23 *
*
* - Bugfix: Reference container, tooltips: fix line wrapping of URLs (hyperlinked or not) based on pattern, not link element. * - Bugfix: Reference container, tooltips: fix line wrapping of URLs (hyperlinked or not) based on pattern, not link element.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-11-25T0837+0100 * @link https://wordpress.org/support/topic/footnotes-on-mobile-phones/#post-13710682
* @link https://wordpress.org/support/topic/footnotes-on-mobile-phones/#post-13710682
* *
* - Bugfix: Reference container, tooltips: URL wrap: exclude image source too, thanks to @bjrnet21 bug report. * - Bugfix: Reference container, tooltips: URL wrap: exclude image source too, thanks to @bjrnet21 bug report.
* *
@ -1800,23 +1773,20 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/broken-layout-starting-version-2-1-4/ * @link https://wordpress.org/support/topic/broken-layout-starting-version-2-1-4/
* *
* @since 2.1.6 * @since 2.1.6
* @date 2020-12-09T1921+0100 *
* * Even ARIA labels may take a URL as value, so use \w=[\'"] as a catch-all
* Even ARIA labels may take a URL as value, so use \w=[\'"] as a catch-all 2020-12-10T1005+0100
* *
* - Bugfix: Dashboard: URL wrap: add option to properly enable/disable URL wrap. * - Bugfix: Dashboard: URL wrap: add option to properly enable/disable URL wrap.
* *
* @since 2.1.6 * @since 2.1.6
* @date 2020-12-09T1606+0100 *
*
* - Bugfix: Reference container, tooltips: URL wrap: make the quotation mark optional wrt query parameters, thanks to @spiralofhope2 bug report. * - Bugfix: Reference container, tooltips: URL wrap: make the quotation mark optional wrt query parameters, thanks to @spiralofhope2 bug report.
* *
* @reporter @spiralofhope2 * @reporter @spiralofhope2
* @link https://wordpress.org/support/topic/two-links-now-breaks-footnotes-with-blogtext/ * @link https://wordpress.org/support/topic/two-links-now-breaks-footnotes-with-blogtext/
* *
* @since 2.2.6 * @since 2.2.6
* @date 2020-12-23T0409+0100 *
*
* - Bugfix: Reference container, tooltips: URL wrap: remove a bug introduced in the regex, thanks to @rjl20 @spaceling @lukashuggenberg @klusik @friedrichnorth @bernardzit bug reports. * - Bugfix: Reference container, tooltips: URL wrap: remove a bug introduced in the regex, thanks to @rjl20 @spaceling @lukashuggenberg @klusik @friedrichnorth @bernardzit bug reports.
* *
* @reporter @rjl20 * @reporter @rjl20
@ -1838,38 +1808,32 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/footnotes-dont-show-after-update-to-2-2-6/#post-13826029 * @link https://wordpress.org/support/topic/footnotes-dont-show-after-update-to-2-2-6/#post-13826029
* *
* @since 2.2.7 * @since 2.2.7
* @date 2020-12-23T1046+0100 *
*
* - Bugfix: Reference container, tooltips: URL wrap: correctly make the quotation mark optional wrt query parameters, thanks to @spiralofhope2 bug report. * - Bugfix: Reference container, tooltips: URL wrap: correctly make the quotation mark optional wrt query parameters, thanks to @spiralofhope2 bug report.
* *
* @reporter @spiralofhope2 * @reporter @spiralofhope2
* @link https://wordpress.org/support/topic/two-links-now-breaks-footnotes-with-blogtext/ * @link https://wordpress.org/support/topic/two-links-now-breaks-footnotes-with-blogtext/
* *
* @since 2.2.8 * @since 2.2.8
* @date 2020-12-23T1107+0100 * Correct is duplicating the negative lookbehind w/o quotes: '(?<!\w=)'
* Correct is duplicating the negative lookbehind w/o quotes: '(?<!\w=)'
* *
* - Bugfix: Reference container, tooltips: URL wrap: account for RFC 2396 allowed characters in parameter names. * - Bugfix: Reference container, tooltips: URL wrap: account for RFC 2396 allowed characters in parameter names.
* - Bugfix: Reference container, tooltips: URL wrap: exclude URLs also where the equals sign is preceded by an entity or character reference. * - Bugfix: Reference container, tooltips: URL wrap: exclude URLs also where the equals sign is preceded by an entity or character reference.
* *
* @since 2.2.9 * @since 2.2.9
* @date 2020-12-24T1956+0100 * @link https://stackoverflow.com/questions/814700/http-url-allowed-characters-in-parameter-names
* @link https://stackoverflow.com/questions/814700/http-url-allowed-characters-in-parameter-names *
* @date 2020-12-25T1251+0100
*
* - Bugfix: Reference container, tooltips: URL wrap: support also file transfer protocol URLs. * - Bugfix: Reference container, tooltips: URL wrap: support also file transfer protocol URLs.
* *
* @since 2.2.10 * @since 2.2.10
* @date 2020-12-25T2220+0100 *
*
* - Bugfix: Reference container, tooltips: URL wrap: exclude URL pattern as folder name in Wayback Machine URL, thanks to @rumperuu bug report. * - Bugfix: Reference container, tooltips: URL wrap: exclude URL pattern as folder name in Wayback Machine URL, thanks to @rumperuu bug report.
* *
* @reporter @rumperuu * @reporter @rumperuu
* @link https://wordpress.org/support/topic/line-wrap-href-regex-bug/ * @link https://wordpress.org/support/topic/line-wrap-href-regex-bug/
* *
* @since 2.5.3 * @since 2.5.3
* @date 2021-01-24 * By adding a 3rd negative lookbehind: '(?<!/)'.
* By adding a 3rd negative lookbehind: '(?<!/)'.
* *
* - Bugfix: Reference container, tooltips: URL wrap: account for leading space in value, thanks to @karolszakiel example provision. * - Bugfix: Reference container, tooltips: URL wrap: account for leading space in value, thanks to @karolszakiel example provision.
* *
@ -1931,7 +1895,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/offset-x-axis-and-offset-y-axis-does-not-working/ * @link https://wordpress.org/support/topic/offset-x-axis-and-offset-y-axis-does-not-working/
* *
* @since 2.1.0 * @since 2.1.0
* @date 2020-11-08T2146+0100
* If the tooltip truncation option is enabled, its done based on character count, * If the tooltip truncation option is enabled, its done based on character count,
* and a trailing incomplete word is cropped. * and a trailing incomplete word is cropped.
* This is equivalent to the WordPress default excerpt generation, i.e. without a * This is equivalent to the WordPress default excerpt generation, i.e. without a
@ -1963,7 +1926,7 @@ class MCI_Footnotes_Task {
} else { } else {
// Dont add onclick event in AMP compatibility mode. // Dont add onclick event in AMP compatibility mode.
// Reverted wrong linting 2021-03-20T0032+0100. // Reverted wrong linting.
$l_str_excerpt_text .= ' onclick="footnote_moveToReference_' . self::$a_int_post_id; $l_str_excerpt_text .= ' onclick="footnote_moveToReference_' . self::$a_int_post_id;
$l_str_excerpt_text .= '_' . self::$a_int_reference_container_id; $l_str_excerpt_text .= '_' . self::$a_int_reference_container_id;
$l_str_excerpt_text .= '(\'footnote_plugin_reference_' . self::$a_int_post_id; $l_str_excerpt_text .= '(\'footnote_plugin_reference_' . self::$a_int_post_id;
@ -1992,7 +1955,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/offset-x-axis-and-offset-y-axis-does-not-working/ * @link https://wordpress.org/support/topic/offset-x-axis-and-offset-y-axis-does-not-working/
* *
* @since 2.1.0 * @since 2.1.0
* @date 2020-11-08T2146+0100
*/ */
$l_str_excerpt_text .= MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_FOOTNOTES_TOOLTIP_READON_LABEL ); $l_str_excerpt_text .= MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_FOOTNOTES_TOOLTIP_READON_LABEL );
@ -2055,7 +2017,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/wp_debug-php-notice/ * @link https://wordpress.org/support/topic/wp_debug-php-notice/
* *
* @since 2.4.0 * @since 2.4.0
* @date 2021-01-04T1622+0100
* If no hyperlink nor offset anchor is needed, initialize as empty. * If no hyperlink nor offset anchor is needed, initialize as empty.
*/ */
$l_str_footnote_link_argument = ''; $l_str_footnote_link_argument = '';
@ -2267,7 +2228,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/update-2-1-3/#post-13704194 * @link https://wordpress.org/support/topic/update-2-1-3/#post-13704194
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-11-28T1048+0100
* Initially an appended comma was hard-coded in this algorithm for enumerations. * Initially an appended comma was hard-coded in this algorithm for enumerations.
* The comma in enumerations is not universally preferred. * The comma in enumerations is not universally preferred.
*/ */
@ -2338,7 +2298,6 @@ class MCI_Footnotes_Task {
* - Bugfix: Reference container: Backlinks: fix stacked enumerations by adding optional line breaks. * - Bugfix: Reference container: Backlinks: fix stacked enumerations by adding optional line breaks.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-11-28T1049+0100
* *
* The backlinks of combined footnotes are generally preferred in an enumeration. * The backlinks of combined footnotes are generally preferred in an enumeration.
* But when few footnotes are identical, stacking the items in list form is better. * But when few footnotes are identical, stacking the items in list form is better.
@ -2362,8 +2321,7 @@ class MCI_Footnotes_Task {
* - Bugfix: Reference container: option to restore pre-2.0.0 layout with the backlink symbol in an extra column. * - Bugfix: Reference container: option to restore pre-2.0.0 layout with the backlink symbol in an extra column.
* *
* @since 2.1.1 * @since 2.1.1
* @date 2020-11-16T2024+0100 */
*/
$l_bool_combine_identical_footnotes = MCI_Footnotes_Convert::to_bool( MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_COMBINE_IDENTICAL_FOOTNOTES ) ); $l_bool_combine_identical_footnotes = MCI_Footnotes_Convert::to_bool( MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_COMBINE_IDENTICAL_FOOTNOTES ) );
// AMP compatibility requires a full set of AMP compatible table row templates. // AMP compatibility requires a full set of AMP compatible table row templates.
@ -2431,7 +2389,6 @@ class MCI_Footnotes_Task {
* - Bugfix: Reference container: option to append symbol (prepended by default), thanks to @spaceling code contribution. * - Bugfix: Reference container: option to append symbol (prepended by default), thanks to @spaceling code contribution.
* *
* @since 2.1.1 * @since 2.1.1
* @date 2020-11-16T2024+0100
* *
* @contributor @spaceling * @contributor @spaceling
* @link https://wordpress.org/support/topic/change-the-position-5/#post-13615994 * @link https://wordpress.org/support/topic/change-the-position-5/#post-13615994
@ -2440,7 +2397,6 @@ class MCI_Footnotes_Task {
* - Bugfix: Reference container: Backlink symbol: support for appending when combining identicals is on. * - Bugfix: Reference container: Backlink symbol: support for appending when combining identicals is on.
* *
* @since 2.1.4 * @since 2.1.4
* @date 2020-11-26T1633+0100
*/ */
$l_bool_symbol_switch = MCI_Footnotes_Convert::to_bool( MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH ) ); $l_bool_symbol_switch = MCI_Footnotes_Convert::to_bool( MCI_Footnotes_Settings::instance()->get( MCI_Footnotes_Settings::C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH ) );
@ -2530,7 +2486,6 @@ class MCI_Footnotes_Task {
* @link https://wordpress.org/support/topic/custom-css-for-jumbled-references/ * @link https://wordpress.org/support/topic/custom-css-for-jumbled-references/
* *
* @since 2.1.1 * @since 2.1.1
* @date 2020-11-14T2233+0100
* Prepare to have single footnotes, where the click event and * Prepare to have single footnotes, where the click event and
* optional hard link need to be set to cover the table cell, * optional hard link need to be set to cover the table cell,
* for better usability and UX. * for better usability and UX.
@ -2563,7 +2518,7 @@ class MCI_Footnotes_Task {
/* /*
* The click event goes in the table cell if footnote remains single. * The click event goes in the table cell if footnote remains single.
*/ */
// Reverted wrong linting 2021-03-20T0032+0100. // Reverted wrong linting.
$l_str_backlink_event = ' onclick="footnote_moveToAnchor_'; $l_str_backlink_event = ' onclick="footnote_moveToAnchor_';
$l_str_backlink_event .= self::$a_int_post_id; $l_str_backlink_event .= self::$a_int_post_id;
@ -2642,7 +2597,7 @@ class MCI_Footnotes_Task {
$l_str_footnote_backlinks .= ' class="footnote_backlink"'; $l_str_footnote_backlinks .= ' class="footnote_backlink"';
// Reverted wrong linting 2021-03-20T0032+0100. // Reverted wrong linting.
$l_str_footnote_backlinks .= ' onclick="footnote_moveToAnchor_'; $l_str_footnote_backlinks .= ' onclick="footnote_moveToAnchor_';
$l_str_footnote_backlinks .= self::$a_int_post_id; $l_str_footnote_backlinks .= self::$a_int_post_id;
@ -2746,7 +2701,6 @@ class MCI_Footnotes_Task {
* @reporter @lukashuggenberg * @reporter @lukashuggenberg
* *
* @since 2.4.0 * @since 2.4.0
* @date 2021-01-04T0504+0100
* Themes may drop-cap a first letter of initial paragraphs, like this label. * Themes may drop-cap a first letter of initial paragraphs, like this label.
* In case of empty label that would apply to the left half button character. * In case of empty label that would apply to the left half button character.
* Hence the point in setting an empty label to U+202F NARROW NO-BREAK SPACE. * Hence the point in setting an empty label to U+202F NARROW NO-BREAK SPACE.

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 10:58
* *
* @since 2.2.6 Adding: Templates: support for custom templates in sibling folder, thanks to @misfist issue report. * @since 2.2.6 Adding: Templates: support for custom templates in sibling folder, thanks to @misfist issue report.
* @since 2.5.0 Adding: Templates: Enable template location stack, thanks to @misfist issue report and code contribution. * @since 2.5.0 Adding: Templates: Enable template location stack, thanks to @misfist issue report and code contribution.
@ -71,7 +70,6 @@ class MCI_Footnotes_Template {
* - Adding: Templates: support for custom templates in sibling folder, thanks to @misfist issue report. * - Adding: Templates: support for custom templates in sibling folder, thanks to @misfist issue report.
* *
* @since 2.2.6 * @since 2.2.6
* @date 2020-12-19T0606+0100
* *
* @reporter @misfist * @reporter @misfist
* @link https://wordpress.org/support/topic/template-override-filter/ * @link https://wordpress.org/support/topic/template-override-filter/

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 14:30
* *
* @since 1.6.4 Update: replace deprecated function WP_Widget() with recommended __construct(), thanks to @dartiss code contribution. * @since 1.6.4 Update: replace deprecated function WP_Widget() with recommended __construct(), thanks to @dartiss code contribution.
*/ */

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 14:26
*/ */
/** /**
@ -41,7 +40,7 @@ class MCI_Footnotes_Widget_Reference_Container extends MCI_Footnotes_Widget_Base
* @since 1.5.0 * @since 1.5.0
* @return string * @return string
* *
* Edit: curly quotes 2.2.0 2020-12-12T2130+0100 * Edit: curly quotes 2.2.0
*/ */
protected function get_description() { protected function get_description() {
return __( 'The widget defines the position of the reference container if set to “widget area”.', 'footnotes' ); return __( 'The widget defines the position of the reference container if set to “widget area”.', 'footnotes' );
@ -54,7 +53,7 @@ class MCI_Footnotes_Widget_Reference_Container extends MCI_Footnotes_Widget_Base
* @param mixed $instance The instance of the widget. * @param mixed $instance The instance of the widget.
* @return void * @return void
* *
* Edit: curly quotes 2.2.0 2020-12-12T2130+0100 * Edit: curly quotes 2.2.0
*/ */
public function form( $instance ) { public function form( $instance ) {
echo __( 'The widget defines the position of the reference container if set to “widget area”.', 'footnotes' ); echo __( 'The widget defines the position of the reference container if set to “widget area”.', 'footnotes' );

View file

@ -5,7 +5,6 @@
* @filesource * @filesource
* @package footnotes * @package footnotes
* @since 1.5.0 * @since 1.5.0
* @date 14.09.14 17:30
*/ */
/** /**

View file

@ -21,7 +21,6 @@
* @link https://wordpress.org/support/topic/simply-speed-optimisation/ * @link https://wordpress.org/support/topic/simply-speed-optimisation/
* *
* @since 2.5.5 * @since 2.5.5
* @date 2021-02-14T1543+0100
* *
* Six development stylesheets are concatenated to 12 unified stylesheets. * Six development stylesheets are concatenated to 12 unified stylesheets.
* The unminified development stylesheets are distributed for reference. * The unminified development stylesheets are distributed for reference.

View file

@ -9,11 +9,9 @@
* *
* Since v2.1.4 of Footnotes * Since v2.1.4 of Footnotes
* *
* Modified for 2.2.2 2020-12-15T1004+0100 * Modified for 2.2.2
* Modified for 2.2.5 2020-12-16T1321+0100 * Modified for 2.2.5
* Modified for 2.3.0 2020-12-29T0207+0100 * Modified for 2.3.0
*
* Last modified: 2020-12-29T0210+0100
* *
* The enqueuing of this stylesheet is optional and can be * The enqueuing of this stylesheet is optional and can be
* enabled in the dashboard under General settings > * enabled in the dashboard under General settings >

View file

@ -9,8 +9,7 @@
* *
* Since v2.1.4 of Footnotes * Since v2.1.4 of Footnotes
* *
* Last modified for v2.2.2 2020-12-15T1004+0100 * Last modified for v2.2.4
* Last modified for v2.2.4 2020-12-16T0625+0100
* *
* The enqueuing of this stylesheet is optional and can be * The enqueuing of this stylesheet is optional and can be
* enabled in the Reference container settings. * enabled in the Reference container settings.

View file

@ -9,7 +9,7 @@
* *
* Since v2.1.4 of Footnotes * Since v2.1.4 of Footnotes
* *
* Last modified for v2.2.4 2020-12-16T0624+0100 * Last modified for v2.2.4
* *
* The enqueuing of this stylesheet is optional and can be * The enqueuing of this stylesheet is optional and can be
* enabled in the Reference container settings. * enabled in the Reference container settings.

View file

@ -1,16 +1,8 @@
/*<?php for docblocks /*<?php for docblocks
/** /**
* Created by Stefan Herndler.
* User: Stefan
* Created-Date: 15.05.14
* Created-Time: 16:21
* Since: 1.0
*
* Additional stylesheet needed when tooltips (jQuery or alternative) are enabled. * Additional stylesheet needed when tooltips (jQuery or alternative) are enabled.
* *
* @version 2.5.8 * @version 2.5.8
* @lastmodified 2021-02-28T1302+0100
*
* System of unified minified style sheets tailored to the instance. * System of unified minified style sheets tailored to the instance.
* @since 2.5.5 * @since 2.5.5
* @see full header in dev-common.css. * @see full header in dev-common.css.

View file

@ -1,5 +1,4 @@
customized-documentation-schema.txt customized-documentation-schema.txt
@lastmodified 2021-03-05T0501+0100
Plugin Footnotes for WordPress, v2.5.4 and later Plugin Footnotes for WordPress, v2.5.4 and later
@ -37,8 +36,6 @@ PHPDOC tag: Role: Acknowledgment in the changelog:
PHPDOC tags & custom tags PHPDOC tags & custom tags
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
2021-01-24T2310+0100
2021-02-08T0415+0100
▲ Source for standard tags: ▲ Source for standard tags:
https://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.pkg.html https://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.pkg.html

View file

@ -1,6 +1,4 @@
customized-template-stack.txt customized-template-stack.txt
@date 2020-12-19T0609+0100
@lastmodified 2021-02-15T2027+0100
Plugin Footnotes for WordPress, v2.5.3 and later Plugin Footnotes for WordPress, v2.5.3 and later

View file

@ -18,7 +18,6 @@
* *
* @version 2.5.10 (reversion to @version 2.5.8) * @version 2.5.10 (reversion to @version 2.5.8)
* @revision 2483464 * @revision 2483464
* @timestamp 2021-03-01 11:09:29 +0000
* @link https://plugins.trac.wordpress.org/changeset/2483464/footnotes/trunk * @link https://plugins.trac.wordpress.org/changeset/2483464/footnotes/trunk
* *
* @reporter @little-shiva * @reporter @little-shiva

View file

@ -25,7 +25,6 @@
* Make sure to sync the version number in class/init.php: * Make sure to sync the version number in class/init.php:
* @version 1.2.7.redacted.2 * @version 1.2.7.redacted.2
* *
* @lastmodified 2021-02-18T2032+0100
* @accountable @pewgeuges * @accountable @pewgeuges
* *
* @since 2.0.0 Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett @twellve_million bug reports, thanks to @vonpiernik code contribution * @since 2.0.0 Update: Tooltips: fix disabling bug by loading jQuery UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett @twellve_million bug reports, thanks to @vonpiernik code contribution
@ -43,7 +42,6 @@
* - Update: Libraries: jQuery Tools: add condition whether deprecated function jQuery.browser() exists, thanks to @vonpiernik code contribution * - Update: Libraries: jQuery Tools: add condition whether deprecated function jQuery.browser() exists, thanks to @vonpiernik code contribution
* *
* @since 2.0.0 * @since 2.0.0
* @date 2020-10-26T2005+0100
* @accountable @pewgeuges * @accountable @pewgeuges
* *
* @contributor @vonpiernik * @contributor @vonpiernik
@ -73,7 +71,6 @@
* - Update: Libraries: jQuery Tools: redact (comment out) all 6 instances of deprecated function jQuery.browser(), thanks to @bjrnet21 @cconser @vyassuresh @spaceling @widecast @olivlyon @maxident bug reports * - Update: Libraries: jQuery Tools: redact (comment out) all 6 instances of deprecated function jQuery.browser(), thanks to @bjrnet21 @cconser @vyassuresh @spaceling @widecast @olivlyon @maxident bug reports
* *
* @since 2.1.1 * @since 2.1.1
* @date 2020-11-12T0127+0100
* @accountable @pewgeuges * @accountable @pewgeuges
* *
* @reporter @bjrnet21 * @reporter @bjrnet21
@ -157,7 +154,6 @@
* - Bugfix: Libraries: jQuery Tools: replace discouraged double equals sign with recommended triple equals sign * - Bugfix: Libraries: jQuery Tools: replace discouraged double equals sign with recommended triple equals sign
* *
* @since 2.5.4 * @since 2.5.4
* @date 2021-01-27T1955+0100
* @accountable @pewgeuges * @accountable @pewgeuges
* *
* 23 instances (27 less 4 already triple), first below, next was already * 23 instances (27 less 4 already triple), first below, next was already
@ -498,7 +494,6 @@
* - Update: Libraries: jQuery Tools: replace deprecated function jQuery.isFunction(), thanks to @a223123131 bug report * - Update: Libraries: jQuery Tools: replace deprecated function jQuery.isFunction(), thanks to @a223123131 bug report
* *
* @since 2.5.4 * @since 2.5.4
* @date 2021-01-27T1911+0100
* @accountable @pewgeuges * @accountable @pewgeuges
* *
* @reporter @a223123131 * @reporter @a223123131

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
/** /**
* Created by Stefan on 24.05.14. * Created by Stefan on 24.05.14.
* *
* Edit: be careful to maintain version number near EOF 2020-12-11T1225+0100 * Edit: be careful to maintain version number near EOF
*/ */
(function () { (function () {
@ -60,7 +60,7 @@
* *
* @return {Object} Name/value array containing information about the plugin. * @return {Object} Name/value array containing information about the plugin.
* *
* Edit: needs updating the version number manually 2020-12-11T1224+0100 * Edit: needs updating the version number manually
*/ */
getInfo: function () { getInfo: function () {
return { return {