Urgent unreleased bugfix version 2.5.12 with Stable Tag 2.5.10.
= 2.5.12 = - Update: Scrolling: CSS-based smooth scroll behavior (optional), thanks to @paulgpetty and @bogosavljev issue reports. - Bugfix: Backlinks: reflect scroll functions down/up differentiation across the template set, thanks to @bogosavljev bug report. - Bugfix: Referrers: Hard links: enforce scroll offset with '!important' property for surroundings specifying otherwise, thanks to @bogosavljev bug report. - Bugfix: Forms: prevent inadvertently toggling input elements with footnotes in their label, by optionally moving footnotes after the end of the label. - Bugfix: Forms: prevent inadvertently toggling input elements with footnotes in their label, by optionally disconnecting those labels. - Bugfix: Scroll offset: correct syntax error in the main style sheet. - Bugfix: Reference container: correct new syntax errors in the 8 reference container row templates. - Bugfix: Reference container: correct a new typo in the JavaScript reference container template. - Update: Dashboard: General settings: split a dedicated 'URL fragment ID configuration' metabox off the 'Scrolling behavior' metabox. git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2501451 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
ce42420149
commit
9e8e28412e
36 changed files with 326 additions and 132 deletions
|
@ -1143,6 +1143,35 @@ class MCI_Footnotes_Settings {
|
|||
*/
|
||||
const C_INT_FOOTNOTES_SCROLL_UP_DELAY = 'footnotes_inputfield_scroll_up_delay';
|
||||
|
||||
/**
|
||||
* Settings container key to set the solution of the input element label issue.
|
||||
*
|
||||
* @since 2.5.12
|
||||
* @var str
|
||||
* If hard links are not enabled, clicking a referrer in an input element label
|
||||
* toggles the state of the input element the label is connected to.
|
||||
* Beside hard links, other solutions include moving footnotes off the label and
|
||||
* append them, or disconnecting this label from the input element (discouraged).
|
||||
* @link https://wordpress.org/support/topic/compatibility-issue-with-wpforms/#post-14212318
|
||||
*/
|
||||
const C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION = 'footnotes_inputfield_label_issue_solution';
|
||||
|
||||
/**
|
||||
* Settings container key to enable CSS smooth scrolling.
|
||||
*
|
||||
* - Update: Scrolling: CSS-based smooth scroll behavior (optional), thanks to @paulgpetty and @bogosavljev issue reports.
|
||||
*
|
||||
* @reporter @paulgpetty
|
||||
* @link https://wordpress.org/support/topic/functionally-great/#post-13607795
|
||||
*
|
||||
* @reporter @bogosavljev
|
||||
* @link https://wordpress.org/support/topic/compatibility-issue-with-wpforms/#post-14214720
|
||||
*
|
||||
* @since 2.5.12
|
||||
* Native smooth scrolling only works in recent browsers.
|
||||
*/
|
||||
const C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING = 'footnotes_inputfield_css_smooth_scrolling';
|
||||
|
||||
|
||||
/**
|
||||
* SETTINGS STORAGE.
|
||||
|
@ -1202,6 +1231,7 @@ class MCI_Footnotes_Settings {
|
|||
self::C_STR_COMBINE_IDENTICAL_FOOTNOTES => 'yes',
|
||||
|
||||
// Scrolling behavior.
|
||||
self::C_STR_FOOTNOTES_CSS_SMOOTH_SCROLLING => 'no',
|
||||
self::C_INT_FOOTNOTES_SCROLL_OFFSET => 20,
|
||||
self::C_INT_FOOTNOTES_SCROLL_DURATION => 380,
|
||||
self::C_STR_FOOTNOTES_SCROLL_DURATION_ASYMMETRICITY => 'no',
|
||||
|
@ -1270,11 +1300,14 @@ class MCI_Footnotes_Settings {
|
|||
self::C_STR_HYPERLINK_ARROW => '↑',
|
||||
self::C_STR_HYPERLINK_ARROW_USER_DEFINED => '',
|
||||
|
||||
// Referrer typesetting and formatting.
|
||||
// Referrers.
|
||||
self::C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS => 'yes',
|
||||
self::C_STR_FOOTNOTE_REFERRERS_NORMAL_SUPERSCRIPT => 'no',
|
||||
self::C_STR_FOOTNOTES_STYLING_BEFORE => '[',
|
||||
self::C_STR_FOOTNOTES_STYLING_AFTER => ']',
|
||||
|
||||
// Referrers in labels.
|
||||
self::C_STR_FOOTNOTES_LABEL_ISSUE_SOLUTION => 'none',
|
||||
|
||||
// Tooltips.
|
||||
self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED => 'yes',
|
||||
|
|
Reference in a new issue