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
14
templates/dashboard/configure-label-solution.html
Normal file
14
templates/dashboard/configure-label-solution.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<div class="footnotes_description">
|
||||
<p>[[description-1-selection]]</p>
|
||||
</div>
|
||||
<table class="configure-label-solution widefat fixed">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>[[label-selection]]</td>
|
||||
<td>[[selection]]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="footnotes_description">
|
||||
<p>[[description-2-selection]]</p>
|
||||
</div>
|
28
templates/dashboard/settings-hard-links.html
Normal file
28
templates/dashboard/settings-hard-links.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<table class="settings_hard_links widefat fixed">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>[[label-hard-links]]</td>
|
||||
<td>[[hard-links]] <span class="footnotes_notice">[[notice-hard-links]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-footnote]]</td>
|
||||
<td>[[footnote]] <span class="footnotes_notice">[[notice-footnote]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-referrer]]</td>
|
||||
<td>[[referrer]] <span class="footnotes_notice">[[notice-referrer]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-separator]]</td>
|
||||
<td>[[separator]] <span class="footnotes_notice">[[notice-separator]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-backlink-tooltips]]</td>
|
||||
<td>[[backlink-tooltips]] <span class="footnotes_notice">[[notice-backlink-tooltips]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-backlink-tooltip-text]]</td>
|
||||
<td>[[backlink-tooltip-text]] <span class="footnotes_notice">[[notice-backlink-tooltip-text]]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
|
@ -1,5 +1,9 @@
|
|||
<table class="settings_scrolling widefat fixed">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>[[label-scroll-css]]</td>
|
||||
<td>[[scroll-css]] <span class="footnotes_notice">[[notice-scroll-css]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-scroll-offset]]</td>
|
||||
<td>[[scroll-offset]] <span class="footnotes_notice">[[notice-scroll-offset]]</span></td>
|
||||
|
@ -9,8 +13,8 @@
|
|||
<td>[[scroll-duration]] <span class="footnotes_notice">[[notice-scroll-duration]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-asymmetricity]]</td>
|
||||
<td>[[asymmetricity]] <span class="footnotes_notice">[[notice-asymmetricity]]</span></td>
|
||||
<td>[[label-scroll-asymmetricity]]</td>
|
||||
<td>[[scroll-asymmetricity]] <span class="footnotes_notice">[[notice-scroll-asymmetricity]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-scroll-down-duration]]</td>
|
||||
|
@ -24,29 +28,5 @@
|
|||
<td>[[label-scroll-up-delay]]</td>
|
||||
<td>[[scroll-up-delay]] <span class="footnotes_notice">[[notice-scroll-up-delay]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-hard-links]]</td>
|
||||
<td>[[hard-links]] <span class="footnotes_notice">[[notice-hard-links]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-footnote]]</td>
|
||||
<td>[[footnote]] <span class="footnotes_notice">[[notice-footnote]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-referrer]]</td>
|
||||
<td>[[referrer]] <span class="footnotes_notice">[[notice-referrer]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-separator]]</td>
|
||||
<td>[[separator]] <span class="footnotes_notice">[[notice-separator]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-backlink-tooltips]]</td>
|
||||
<td>[[backlink-tooltips]] <span class="footnotes_notice">[[notice-backlink-tooltips]]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-backlink-tooltip-text]]</td>
|
||||
<td>[[backlink-tooltip-text]] <span class="footnotes_notice">[[notice-backlink-tooltip-text]]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
class="footnote_index"
|
||||
[[hard-link]]
|
||||
>[[index]][[terminator]]</[[link-span]]
|
||||
>[[anchor-element]]</td
|
||||
>[[anchor-element]]</th
|
||||
>
|
||||
<td
|
||||
class="footnote_plugin_symbol"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<th
|
||||
scope="row"
|
||||
class="footnote_plugin_index_combi[[pointer]]"
|
||||
>[[backlinks]]</td
|
||||
>[[backlinks]]</th
|
||||
>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
class="footnote_plugin_link"
|
||||
[[hard-link]]
|
||||
>[[index]][[terminator]][[arrow]]</[[link-span]]
|
||||
>[[anchor-element]]</td
|
||||
>[[anchor-element]]</th
|
||||
>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
class="footnote_plugin_link"
|
||||
[[hard-link]]
|
||||
>[[arrow]][[index]][[terminator]]</[[link-span]]
|
||||
>[[anchor-element]]</td
|
||||
>[[anchor-element]]</th
|
||||
>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
|
|
|
@ -33,6 +33,11 @@
|
|||
* the tables must be marked up properly using table header elements for header rows and header
|
||||
* columns as applicable.
|
||||
* The table caption must also be present for screen readers but may be hidden to sighted users.
|
||||
*
|
||||
* - Bugfix: Backlinks: reflect scroll functions down/up differentiation across the template set, thanks to @bogosavljev bug report.
|
||||
*
|
||||
* @reporter @bogosavljef
|
||||
* @link https://wordpress.org/support/topic/compatibility-issue-with-wpforms/#post-14214720
|
||||
*/?>
|
||||
-->
|
||||
<div
|
||||
|
@ -48,7 +53,7 @@
|
|||
class="footnote_reference_container_label pointer"
|
||||
onclick="footnote_expand_reference_container_[[post_id]]_[[container_id]]();"
|
||||
onkeydown="footnote_expand_reference_container_[[post_id]]_[[container_id]]();"
|
||||
s >[[name]]</span
|
||||
>[[name]]</span
|
||||
><span
|
||||
role="button"
|
||||
tabindex="0"
|
||||
|
@ -112,4 +117,7 @@ s >[[name]]</span
|
|||
function footnote_moveToReference_[[post_id]]_[[container_id]](p_str_TargetID) {
|
||||
footnote_expand_reference_container_[[post_id]]_[[container_id]]();
|
||||
}
|
||||
function footnote_moveToAnchor_[[post_id]]_[[container_id]](p_str_TargetID) {
|
||||
/* defined to keep using standard row templates */
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
onclick="footnote_moveToAnchor_[[post_id]]_[[container_id]]('footnote_plugin_tooltip_[[post_id]]_[[container_id]]_[[note_id]]');"
|
||||
[[hard-link]]
|
||||
>[[index]][[terminator]]</[[link-span]]
|
||||
>[[anchor-element]]</td
|
||||
>[[anchor-element]]</th
|
||||
>
|
||||
<td
|
||||
class="footnote_plugin_symbol"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
scope="row"
|
||||
class="footnote_plugin_index_combi[[pointer]]"
|
||||
[[event]]
|
||||
>[[backlinks]]</td
|
||||
>[[backlinks]]</th
|
||||
>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
class="footnote_plugin_link"
|
||||
[[hard-link]]
|
||||
>[[index]][[terminator]][[arrow]]</[[link-span]]
|
||||
>[[anchor-element]]</td
|
||||
>[[anchor-element]]</th
|
||||
>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
class="footnote_plugin_link"
|
||||
[[hard-link]]
|
||||
>[[arrow]][[index]][[terminator]]</[[link-span]]
|
||||
>[[anchor-element]]</td
|
||||
>[[anchor-element]]</th
|
||||
>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
|
|
Reference in a new issue