developer version 2.0.9d0 (delta 0) in response to user request

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2414450 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2020-11-07 13:31:49 +00:00
parent 89e6d9e9d7
commit b57b80f123
8 changed files with 58 additions and 32 deletions

View file

@ -2,17 +2,20 @@
/**
* Includes the main Class of the Plugin.
*
* IMPORTANT: In registerPublic(), keep plugin version # up to date for cache busting.
* ***********************************************************************************************
* IMPORTANT: In registerPublic() line 134: keep plugin version # up to date for cache busting. *
* ***********************************************************************************************
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 12.09.14 10:56
*
* Edited for v1.6.5: Replaced deprecated function create_function()
* Edited for v2.0.0: Added jQueryUI from CDN 2020-10-26T1907+0100
* Edited for v2.0.3: Added style sheet versioning 2020-10-29T1413+0100
* Edited for v2.0.4: Added jQuery UI from WordPress 2020-11-01T1902+0100
*
* Last modified: 2020-11-06T1511+0100
* Continual update of version number.
*/
@ -130,7 +133,7 @@ class MCI_Footnotes {
'mci-footnotes-css-public',
plugins_url('../css/public.css', __FILE__),
'',
'2.0.8'
'2.0.9d0'
);
}

View file

@ -4,9 +4,9 @@
* Created-Date: 15.05.14
* Created-Time: 16:21
* Since: 1.0
* Version: 2.0.8
* Version: 2.0.9d0
*
* Last modified: 2020-11-06T1511+0100
* Last modified: 2020-11-07T1424+0100
*/
@ -34,19 +34,21 @@
/* Inline footnote referrers
* aka superscript footnote anchors
*
* Class footnote_plugin_tooltip_text is the referrer and surroundings
* referrer and surroundings:
* .footnote_referrer = enclosing <a>
* .footnote_plugin_tooltip_text = inner <sup>
*/
.footnote_referrer,
.footnote_plugin_tooltip_text {
text-decoration: none !important;
cursor: pointer;
z-index: 1;
}
.footnote_plugin_tooltip_text {
display: inline-block;
text-decoration: none;
}
.footnote_referrer:hover,
.footnote_plugin_tooltip_text:hover {
text-decoration: underline;
font-weight: inherit;
}
/* tooltip infobox */
@ -102,12 +104,14 @@ span.footnote_tooltip {
/* fully clickable, not sign only */
.footnote_reference_container_collapse_button {
cursor: pointer;
font-size: 1.2em !important;
padding-left: .5em;
}
.footnote_container_prepare > p > span:last-child a {
text-decoration: none !important;
}
.footnote_container_prepare > p > span:last-child a:hover {
text-decoration: underline;
text-decoration: underline !important;
color: #008800;
}
@ -138,7 +142,7 @@ span.footnote_tooltip {
text-decoration: underline !important;
}
.footnote_plugin_index {
cursor: pointer;
cursor: pointer;
overflow-wrap: unset;
word-wrap: unset;
word-wrap: normal !important;
@ -149,7 +153,7 @@ span.footnote_tooltip {
overflow: hidden;
}
.footnote_index_item {
white-space: nowrap;
white-space: nowrap;
}
.footnote_plugin_text {
width: unset; /*unset width of text column to fix site issues*/
@ -167,10 +171,11 @@ span.footnote_tooltip {
* Printing a table, browsers tend to avoid page breaks,
* but it takes a wrapper to avoid a page break before the table.
*
* UI elements (button, arrows) and link styling are removed.
* UI elements - expand button, arrows - are hidden in print;
* link styling is reverted so as to not gray out referrers/numbers.
*/
.footnote_container_overall_wrapper {
.footnote_container_wrapper {
page-break-inside: avoid;
}

View file

@ -4,8 +4,8 @@
* Created-Date: 15.05.14
* Created-Time: 16:21
* Since: 1.0
* Version: 2.0.4
* Last modified: 2020-11-01T0415+0100
* Version: 2.0.9
* Last modified: 2020-11-06T2321+0100
*/
@ -41,7 +41,6 @@
input[type=text], input[type=password], textarea, select {
padding-left: 8px !important;
padding-right: 8px !important;
width: 80% !important;
}
textarea {

View file

@ -4,7 +4,7 @@
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.0.8
Version: 2.0.9d0
Author URI: http://cheret.de/plugins/footnotes-2/
Text Domain: footnotes
Domain Path: /languages

View file

@ -4,7 +4,7 @@ Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, referen
Requires at least: 3.9
Tested up to: 5.5
Requires PHP: 5.6
Stable Tag: 2.0.8
Stable Tag: 2.0.9d0
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@ -80,11 +80,14 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
== Changelog ==
= 2.0.9d0 =
- Bugfix: Layout: Footnote referrers: more efficiently disable underline unless hovered
= 2.0.8 =
- BUGFIX: Priority level back to PHP_INT_MAX (need to get in touch with other plugins)
= 2.0.7 =
- BUGFIX: Disabled hook "the_post" **Any related code in the plugin shall disappear next**
- BUGFIX: Disabled hook "the_post" **Any related code in the plugin shall disappear**
- Update: Set priority level back to 10 assuming it is unproblematic
- Update: Added backwards compatible support for legacy arrow and index placeholders in template
- Update: Settings defaults adjusted for better and more up-to-date tooltip layout

View file

@ -1,6 +1,7 @@
MCI Footnotes WordPress plugin
NOTE FOR WEBMASTERS
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Added: 2020-11-06T0424+0100
Last modified: 2020-11-06T0431+0100
@ -8,12 +9,17 @@ Last modified: 2020-11-06T0431+0100
About the public templates
Template "reference-container-body.html"
## Template "reference-container-body.html"
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
> class/task.php(481)
> css/public.css
class/task.php(481)
css/public.css
* Elements:
Supported placeholders:
<a> Present for styling.
* Supported placeholders:
[[post_id]] makes the footnote ID unique for infinite scroll
[[id]] footnote number (1-based integer)

View file

@ -1,4 +1,5 @@
<a
class="footnote_referrer"
><sup
id="footnote_plugin_tooltip_[[post_id]]_[[id]]"
class="footnote_plugin_tooltip_text"

View file

@ -1,21 +1,30 @@
<div class="footnote_container_overall_wrapper">
<div class="footnote_container_prepare">
<p><span
<div
class="footnote_container_wrapper"
>
<div
class="footnote_container_prepare"
><p
><span
onclick="footnote_expand_reference_container_[[post_id]]();"
>[[label]]</span
><span
class="footnote_reference_container_collapse_button"
style="[[button-style]]"
onclick="footnote_expand_collapse_reference_container_[[post_id]]();"
>&nbsp;&nbsp;&nbsp;[<a
>[<a
id="footnote_reference_container_collapse_button_[[post_id]]"
> + </a
>]</span
></p
></div
>
<div
id="footnote_references_container_[[post_id]]"
style="[[style]]"
>
<table
class="footnote-reference-container"
>
</div>
<div id="footnote_references_container_[[post_id]]" style="[[style]]">
<table class="footnote-reference-container">
<tbody>
[[content]]
</tbody>