From 380a309ad3dc0e8cc99c4188bef84d59954be944 Mon Sep 17 00:00:00 2001 From: pewgeuges Date: Thu, 25 Mar 2021 15:02:17 +0000 Subject: [PATCH] =?UTF-8?q?Release=202.6.0,=20new=20Stable=20Tag=202.6.0?= =?UTF-8?q?=20as=20using=20unreleased=20though=20tagged=20versions=20may?= =?UTF-8?q?=20not=20meet=20an=20organization=E2=80=99s=20security=20requir?= =?UTF-8?q?ements.=20On=20the=20basis=20of=202.5.15.=20=3D=202.6.0=20=3D?= =?UTF-8?q?=20-=20Adding:=20Reference=20container:=20get=20expanding=20and?= =?UTF-8?q?=20collapsing=20to=20work=20also=20in=20AMP=20compatibility=20m?= =?UTF-8?q?ode,=20thanks=20to=20@westonruter=20code=20contribution.=20-=20?= =?UTF-8?q?Adding:=20Tooltips:=20make=20display=20work=20purely=20by=20sty?= =?UTF-8?q?le=20rules=20for=20AMP=20compatibility,=20thanks=20to=20@milind?= =?UTF-8?q?more22=20code=20contribution.=20-=20Bugfix:=20Tooltips:=20AMP?= =?UTF-8?q?=20tooltips:=20enable=20accessibility=20by=20keyboard=20navigat?= =?UTF-8?q?ion,=20thanks=20to=20@westonruter=20code=20contribution.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2503360 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- class/dashboard/subpage-main.php | 4 ++-- footnotes.php | 8 ++++---- js/wysiwyg-editor.js | 2 +- readme.txt | 11 ++++++++--- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/class/dashboard/subpage-main.php b/class/dashboard/subpage-main.php index 849477c..d055570 100644 --- a/class/dashboard/subpage-main.php +++ b/class/dashboard/subpage-main.php @@ -130,7 +130,7 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine { protected function get_meta_boxes() { $l_arr_meta_boxes = array(); - $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'amp-compat', __( 'AMP compatibility (draft; accessibility not yet debugged)', 'footnotes' ), 'amp_compat' ); + $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'amp-compat', __( 'AMP compatibility', 'footnotes' ), 'amp_compat' ); $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'start-end', __( 'Footnote start and end short codes', 'footnotes' ), 'start_end' ); $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'numbering', __( 'Footnotes numbering', 'footnotes' ), 'numbering' ); $l_arr_meta_boxes[] = $this->add_meta_box( 'settings', 'scrolling', __( 'Scrolling behavior', 'footnotes' ), 'scrolling' ); @@ -184,7 +184,7 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine { 'amp' => $this->add_checkbox( MCI_Footnotes_Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE ), 'notice-amp' => __( 'This option enables hard links with configurable scroll offset in % viewport height.', 'footnotes' ), // Translators: '%s' is the logogram of the 'Footnotes' plugin. - 'description-2-amp' => sprintf( __( '%s shall become AMP compatible thanks to @milindmore22 and @westonruter code contributions. [After the related items are added to the changelog, a more detailed feature description shall replace this provisional announcement.]', 'footnotes' ), '' . MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME . '' ), + 'description-2-amp' => sprintf( __( '%s is becoming AMP compatible when this box is checked. Styled tooltips are displayed with fade-in/fade-out effect if enabled, and the reference container expands also on clicking a referrer if it’s collapsed by default.', 'footnotes' ), '' . MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME . '' ), ) ); // Display template with replaced placeholders. diff --git a/footnotes.php b/footnotes.php index fb10233..394c1bb 100755 --- a/footnotes.php +++ b/footnotes.php @@ -4,8 +4,8 @@ * Plugin URI: https://wordpress.org/plugins/footnotes/ * Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine. * Author: Mark Cheret - * Package V.: 2.5.15 - * Version: 2.5.15 + * Package V.: 2.6.0 + * Version: 2.6.0 * CAUTION: THIS V. FIELD IS PARSED FOR UPDATE CONFIGURATION. * Author URI: https://cheret.org/footnotes/ * Text Domain: footnotes @@ -21,9 +21,9 @@ * @since 2.1.4 * @since 2.5.3 (Hungarian) * @var str - * @lastmodified 2021-03-25T1138+0100 + * @lastmodified 2021-03-25T1552+0100 */ -define( 'C_STR_PACKAGE_VERSION', '2.5.15' ); +define( 'C_STR_PACKAGE_VERSION', '2.6.0' ); /** * Enables toggling the stylesheet enqueuing mode from production (true) to development (false). * @see Full docblock below next. diff --git a/js/wysiwyg-editor.js b/js/wysiwyg-editor.js index c802cb7..85dba8a 100644 --- a/js/wysiwyg-editor.js +++ b/js/wysiwyg-editor.js @@ -69,7 +69,7 @@ author : 'Mark Cheret', authorurl : 'https://cheret.org/footnotes/', infourl : 'https://wordpress.org/plugins/footnotes/', - version : "2.5.15" + version : "2.6.0" }; } }); diff --git a/readme.txt b/readme.txt index a18fb8a..4af301e 100755 --- a/readme.txt +++ b/readme.txt @@ -4,9 +4,9 @@ Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, referen Requires at least: 3.9 Tested up to: 5.7 Requires PHP: 5.6 -Package Version: 2.5.15 -Version: 2.5.15 -Stable Tag: 2.5.10 +Package Version: 2.6.0 +Version: 2.6.0 +Stable Tag: 2.6.0 CAUTION: THE S. T. FIELD IS PARSED FOR RELEASE CONFIGURATION. License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -80,6 +80,11 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** == Changelog == += 2.6.0 = +- Adding: Reference container: get expanding and collapsing to work also in AMP compatibility mode, thanks to @westonruter code contribution. +- Adding: Tooltips: make display work purely by style rules for AMP compatibility, thanks to @milindmore22 code contribution. +- Bugfix: Tooltips: AMP tooltips: enable accessibility by keyboard navigation, thanks to @westonruter code contribution. + = 2.5.15 = - Bugfix: Dashboard: General settings: Footnote start and end short codes: debug select box for shortcodes with pointy brackets. - Update: Dashboard: General settings: Footnote start and end short codes: add information about pointy brackets.