urgent bugfix release 2.2.10 in response to forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/tags/2.2.10@2446030 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
9026c8ae19
commit
47a5155707
17 changed files with 295 additions and 182 deletions
|
@ -6,32 +6,35 @@
|
|||
* @author Stefan Herndler
|
||||
* @since 1.5.0 14.09.14 10:43
|
||||
*
|
||||
* Edited for:
|
||||
* 2.0.4 restore arrow settings 2020-11-02T2115+0100
|
||||
* 2.0.7 remove hook the_post 2020-11-06T1342+0100
|
||||
* 2.1.0 add read-on button label customization 2020-11-08T2149+0100
|
||||
* 2.1.1 fix tooltips on site by alternative 2020-11-11T1819+0100
|
||||
* 2.1.1 fix disabling backlink symbol 2020-11-16T2021+0100
|
||||
* 2.1.1 fix superscript by making it optional
|
||||
* 2.1.1 fix start pages by option to hide ref container, thanks to @dragon013
|
||||
* Edited:
|
||||
* @since 2.0.4 restore arrow settings 2020-11-02T2115+0100
|
||||
* @since 2.0.7 remove hook the_post 2020-11-06T1342+0100
|
||||
* @since 2.1.0 add read-on button label customization 2020-11-08T2149+0100
|
||||
* @since 2.1.1 fix tooltips on site by alternative 2020-11-11T1819+0100
|
||||
* @since 2.1.1 fix disabling backlink symbol 2020-11-16T2021+0100
|
||||
* @since 2.1.1 fix superscript by making it optional
|
||||
* @since 2.1.1 fix start pages by option to hide ref container, thanks to @dragon013
|
||||
* @see <https://wordpress.org/support/topic/possible-to-hide-it-from-start-page/>
|
||||
* 2.1.1 fix ref container by option restoring 3-column layout
|
||||
* 2.1.1 fix ref container by option to switch index/symbol 2020-11-16T2022+0100
|
||||
* @since 2.1.1 fix ref container by option restoring 3-column layout
|
||||
* @since 2.1.1 fix ref container by option to switch index/symbol 2020-11-16T2022+0100
|
||||
* @since 2.1.3 excerpt hook: disable by default, thanks to @nikelaos
|
||||
* @see <https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13687068>
|
||||
* 2.1.3 fix ref container positioning by priority level 2020-11-17T0205+0100
|
||||
* 2.1.4 more settings container keys 2020-12-03T0955+0100
|
||||
* 2.1.6 option to disable URL line wrapping 2020-12-09T1606+0100
|
||||
* 2.1.6 set default priority level of the_content to 98 to prevent plugin conflict, thanks to @marthalindeman 2020-12-10T0447+0100
|
||||
* 2.2.0 reference container custom position shortcode, thanks to @hamshe 2020-12-13T2056+0100
|
||||
* @since 2.1.3 fix ref container positioning by priority level 2020-11-17T0205+0100
|
||||
* @since 2.1.4 more settings container keys 2020-12-03T0955+0100
|
||||
* @since 2.1.6 option to disable URL line wrapping 2020-12-09T1606+0100
|
||||
* @since 2.1.6 set default priority level of the_content to 98 to prevent plugin conflict, thanks to @marthalindeman 2020-12-10T0447+0100
|
||||
* @since 2.2.0 reference container custom position shortcode, thanks to @hamshe 2020-12-13T2056+0100
|
||||
* @see <https://wordpress.org/support/topic/reference-container-in-elementor/>
|
||||
* 2.2.2 Custom CSS settings container migration 2020-12-15T0709+0100
|
||||
* 2.2.4 move backlink symbol selection under previous tab 2020-12-16T1256+0100
|
||||
* 2.2.5 alternative tooltip position settings 2020-12-17T0907+0100
|
||||
* 2.2.5 options for reference container label element and bottom border, thanks to @markhillyer 2020-12-18T1455+0100
|
||||
* @since 2.2.2 Custom CSS settings container migration 2020-12-15T0709+0100
|
||||
* @since 2.2.4 move backlink symbol selection under previous tab 2020-12-16T1256+0100
|
||||
* @since 2.2.5 alternative tooltip position settings 2020-12-17T0907+0100
|
||||
* @since 2.2.5 options for reference container label element and bottom border, thanks to @markhillyer 2020-12-18T1455+0100
|
||||
* @see <https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/>
|
||||
* @since 2.2.9 set default priority level of widget_text to 98 like for the_content (since 2.1.6), thanks to @marthalindeman 2020-12-25T1646+0100
|
||||
* @since 2.2.10 reference container row border option, thanks to @noobishh 2020-12-25T2316+0100
|
||||
* @see <https://wordpress.org/support/topic/borders-25/>
|
||||
*
|
||||
* Last modified: 2020-12-23T0747+0100
|
||||
* Last modified: 2020-12-25T2336+0100
|
||||
*/
|
||||
|
||||
|
||||
|
@ -331,7 +334,7 @@ class MCI_Footnotes_Settings {
|
|||
* @var string
|
||||
*
|
||||
* Edited:
|
||||
* 2.2.2 migrate Custom CSS to a dedicated tab 2020-12-15T0520+0100
|
||||
* @since 2.2.2 migrate Custom CSS to a dedicated tab 2020-12-15T0520+0100
|
||||
*/
|
||||
const C_STR_CUSTOM_CSS = "footnote_inputfield_custom_css";
|
||||
const C_STR_CUSTOM_CSS_NEW = "footnote_inputfield_custom_css_new";
|
||||
|
@ -399,7 +402,7 @@ class MCI_Footnotes_Settings {
|
|||
* @var string
|
||||
*
|
||||
* 2020-11-16T0859+0100
|
||||
*
|
||||
*
|
||||
* option to enable/disable the superscript element for referrers, thanks to @cwbayer
|
||||
* @see <https://wordpress.org/support/topic/footnote-number-in-text-superscript-disrupts-leading/>
|
||||
*/
|
||||
|
@ -524,6 +527,18 @@ class MCI_Footnotes_Settings {
|
|||
const C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT = "footnotes_inputfield_reference_container_label_element";
|
||||
const C_BOOL_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER = "footnotes_inputfield_reference_container_label_bottom_border";
|
||||
|
||||
/**
|
||||
* Settings Container Key for table cell borders, thanks to @noobishh
|
||||
* @see <https://wordpress.org/support/topic/borders-25/>
|
||||
*
|
||||
* @since 2.2.10
|
||||
* @var bool
|
||||
*
|
||||
* 2020-12-25T2311+0100
|
||||
*/
|
||||
const C_BOOL_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE = "footnotes_inputfield_reference_container_row_borders_enable";
|
||||
|
||||
|
||||
/**
|
||||
* Stores a singleton reference of this class.
|
||||
*
|
||||
|
@ -558,9 +573,9 @@ class MCI_Footnotes_Settings {
|
|||
* @author Stefan Herndler
|
||||
* @since 1.5.0
|
||||
* @var array
|
||||
*
|
||||
*
|
||||
* Edited multiple times.
|
||||
*
|
||||
*
|
||||
* @since 2.1.3 excerpt hook: disable by default, thanks to @nikelaos
|
||||
* @see <https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13687068>
|
||||
*/
|
||||
|
@ -591,6 +606,9 @@ class MCI_Footnotes_Settings {
|
|||
// whether to enqueue additional style sheet:
|
||||
self::C_STR_FOOTNOTES_PAGE_LAYOUT_SUPPORT => 'none',
|
||||
|
||||
// table cell borders:
|
||||
self::C_BOOL_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE => 'no',
|
||||
|
||||
// backlink symbol:
|
||||
self::C_BOOL_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE => 'no',
|
||||
self::C_BOOL_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE => 'yes',
|
||||
|
@ -750,14 +768,14 @@ class MCI_Footnotes_Settings {
|
|||
// interpret -1 as PHP_INT_MAX instead
|
||||
self::C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL => PHP_INT_MAX,
|
||||
|
||||
// Priority level of the_content, as the only relevant priority level
|
||||
// must be less than 99 because social buttons may yield scripts that
|
||||
// contain the strings '((' and '))', i.e. the default footnote start
|
||||
// and end short codes, causing issues with fake footnotes.
|
||||
// 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
|
||||
// that contain the strings '((' and '))', i.e. the default footnote
|
||||
// start and end short codes, causing issues with fake footnotes.
|
||||
self::C_INT_EXPERT_LOOKUP_THE_CONTENT_PRIORITY_LEVEL => 98,
|
||||
self::C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL => PHP_INT_MAX,
|
||||
self::C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL => PHP_INT_MAX,
|
||||
self::C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL => PHP_INT_MAX,
|
||||
self::C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL => 98,
|
||||
|
||||
),
|
||||
|
||||
|
|
Reference in a new issue