development 2.1.4d9 needed for Forum, tooltip font size defaulting to legacy, edits to hook priority description

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2431362 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2020-12-04 09:31:52 +00:00
parent 6e0698293c
commit bfd563f907
7 changed files with 33 additions and 28 deletions

View file

@ -12,7 +12,7 @@
* 2.1.1 options for ref container and alternative tooltips 2020-11-16T2152+0100
* 2.1.4 settings for ref container and tooltips 2020-12-03T0950+0100
*
* Last modified: 2020-12-03T1359+0100
* Last modified: 2020-12-04T0206+0100
*/
/**
@ -561,11 +561,11 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine {
$l_obj_Template->replace(
array(
"description-1" => __("The priority level determines whether Footnotes is executed timely before other plugins, and how the reference container is positioned relative to other features", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"description-2" => __("Default 9223372036854775807 is lowest priority, 0 is highest", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"description-3" => __("To restore default priority, set to -1, interpreted as 9223372036854775807, the constant PHP_INT_MAX", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"description-4" => __("For the_content, this figure needs to be lower than 1200 to make sure that a feature inserted by another plugin running at 1200 displays below the reference container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"description-5" => __("The widget_text hook must be disabled, because a footnotes container is inserted at the bottom of each widget, but multiple containers in a page are not disambiguated", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"description-1" => __("The priority level determines whether Footnotes is executed timely before other plugins, and how the reference container is positioned relative to other features.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"description-2" => __("Default 9223372036854775807 is lowest priority, 0 is highest.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"description-3" => __("To restore default priority, set to -1, interpreted as 9223372036854775807, the constant PHP_INT_MAX.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"description-4" => __("For the_content, this figure needs to be lower than 1200 to make sure that the reference container displays above features inserted by other plugins running at 1200 or a greater/lower level, later in the process.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"description-5" => __("The widget_text hook must be disabled, because a footnotes container is inserted at the bottom of each widget, but multiple containers in a page are not disambiguated.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"head-hook" => __("WordPress hook function name", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),
"head-checkbox" => __("Activate", MCI_Footnotes_Config::C_STR_PLUGIN_NAME),

View file

@ -555,9 +555,12 @@ class MCI_Footnotes_Settings {
// the current line of text (web coordinates origin is top left):
self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y => -7,
self::C_BOOL_MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'no',
self::C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR => '0.6',
self::C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'em',
// tooltip font size reset to legacy by default since 2.1.4;
// was set to inherit since 2.1.1 as it overrode custom CSS,
// is moved to settings since 2.1.4 2020-12-04T1023+0100
self::C_BOOL_MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'yes',
self::C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR => '13',
self::C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'px',
self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR => '',
// The mouse over box shouldnt feature a colored background

View file

@ -4,9 +4,9 @@
* Created-Date: 15.05.14
* Created-Time: 16:21
* Since: 1.0
* Version: 2.1.4d8
* Version: 2.1.4d9
*
* Last modified: 2020-12-03T1834+0100
* Last modified: 2020-12-04T0202+0100
*/

View file

@ -4,9 +4,9 @@
* Created-Date: 15.05.14
* Created-Time: 16:21
* Since: 1.0
* Version: 2.1.4d8
* Version: 2.1.4d9
*
* Last modified: 2020-12-03T1834+0100
* Last modified: 2020-12-04T0201+0100
*/
@ -148,10 +148,10 @@ IE doesnt support nth child, but these are not critical
width: 30%;
}
.footnotes-description {
.footnotes_description {
padding: 0 10%;
}
.footnotes-description p {
.footnotes_description p {
font-size: 1.4em;
font-style: italic;
}

View file

@ -4,12 +4,12 @@
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
Version: 2.1.4d8
Version: 2.1.4d9
Author URI: http://cheret.de/plugins/footnotes-2/
Text Domain: footnotes
Domain Path: /languages
*/
define( 'FOOTNOTES_VERSION', '2.1.4d8' );
define( 'FOOTNOTES_VERSION', '2.1.4d9' );
/*
Copyright 2020 Mark Cheret (email: mark@cheret.de)

View file

@ -80,24 +80,23 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
== Changelog ==
= 2.1.4d8 =
- Bugfix: Dashboard: Main settings: fix layout, raise shortcodes to top
= 2.1.4d9 =
- Bugfix: Reference container: fix layout issues by moving backlink column width to settings
- Bugfix: Reference container: separating and terminating punctuation optional and customizable
- Bugfix: Styling: Tooltips: fix font size issue by moving it to settings and default it to legacy
- Bugfix: Reference container: Backlinks: optional line breaks to stack enumerations
- Bugfix: Dashboard: move arrow settings from Customize to Settings > Reference container to reunite and fix issue with new heading wording
- Bugfix: Dashboard: Main settings: fix layout, raise shortcodes to top
- Bugfix: Dashboard: Other settings: Excerpt: display guidance next to select box
- Bugfix: Layout: Tooltips: prevent line break in Read-on link label
- Bugfix: Reference container, tooltips: fix line wrapping of URLs based on pattern, not link element
- Bugfix: Reference container: Backlink symbol: support for appending when combining identicals is on
- Bugfix: Reference container: Backlinks: deprioritize hover underline to ease customization
- Bugfix: Reference container: Backlinks: fix line breaking with respect to separators and terminators
- Bugfix: Reference container: Backlinks: options to disable separators and terminators
- Bugfix: Reference container: Backlinks: optional line breaks to stack enumerations
- Bugfix: Reference container: fix layout issues by moving backlink column width to settings
- Bugfix: Reference container: Label: delete overflow hidden rule
- Bugfix: Reference container: separating and terminating punctuation optional and customizable
- Bugfix: Reference container: Styles: re-add the class dedicated to combined footnotes indices
- Bugfix: Styling: Referrers and backlinks: make link elements optional to fix issues
- Bugfix: Styling: Referrers: disable hover underline
- Bugfix: Styling: Tooltips: fix font size issue by moving it to settings, defaulting to inherit
- Bugfix: WordPress hooks: the_content: set priority to 1000 as a safeguard
- Update: Dashboard: Expert mode: streamline and update description for hooks and priority levels

View file

@ -1,7 +1,7 @@
<div class="footnotes-description">
<p>[[description-1]].</p>
<p>[[description-2]]. [[description-3]].</p>
<p>[[description-4]]. [[description-5]].</p>
<div class="footnotes_description">
<p>[[description-1]]</p>
<p>[[description-2]] [[description-3]]</p>
<p>[[description-4]]</p>
</div>
<table id="expert-lookup" class="widefat fixed">
<thead>
@ -45,3 +45,6 @@
</tr>
</tbody>
</table>
<div class="footnotes_description">
<p>[[description-5]]</p>
</div>