traceability update 2.5.6d0 to clear the diffs before switching back to tab indentation, requiring the next commit to be entirely dedicated to whitespace \s changes so as to avoid screwing up code diffs.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2477277 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
84c03f2ece
commit
177841be4b
4 changed files with 54 additions and 30 deletions
|
@ -7,7 +7,7 @@
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @lastmodified 2021-02-17T1142+0100
|
* @lastmodified 2021-02-17T1754+0100
|
||||||
*
|
*
|
||||||
* @since 2.0.0 Bugfix: various.
|
* @since 2.0.0 Bugfix: various.
|
||||||
* @since 2.0.4 Bugfix: Referrers and backlinks: remove hard links to streamline browsing history, thanks to @theroninjedi47 bug report.
|
* @since 2.0.4 Bugfix: Referrers and backlinks: remove hard links to streamline browsing history, thanks to @theroninjedi47 bug report.
|
||||||
|
@ -1700,12 +1700,22 @@ class MCI_Footnotes_Task {
|
||||||
// increase footnote index
|
// increase footnote index
|
||||||
$l_int_FootnoteIndex++;
|
$l_int_FootnoteIndex++;
|
||||||
}
|
}
|
||||||
// add offset to the new starting position
|
|
||||||
$l_int_PosStart += $l_int_Length + strlen($l_str_EndingTag);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fixes a footnotes numbering bug (happening under de facto rare circumstances).
|
* Fixes a footnotes numbering bug (happening under de facto rare circumstances).
|
||||||
*
|
*
|
||||||
|
* - Bugfix: Fixed occasional bug where footnote ordering could be out of sequence
|
||||||
|
*
|
||||||
|
* @since 1.6.4
|
||||||
|
* @date 2016-06-29T0054+0000
|
||||||
|
* @committer @dartiss
|
||||||
|
* @link https://plugins.trac.wordpress.org/browser/footnotes/trunk/class/task.php?rev=1445718 @dartiss’ class/task.php
|
||||||
|
* @link https://plugins.trac.wordpress.org/log/footnotes/trunk/class/task.php?rev=1445718 @dartiss re-added class/task.php
|
||||||
|
* @link https://plugins.trac.wordpress.org/browser/footnotes/trunk/class?rev=1445711 class/ w/o task.php
|
||||||
|
* @link https://plugins.trac.wordpress.org/changeset/1445711/footnotes/trunk/class @dartiss deleted class/task.php
|
||||||
|
* @link https://plugins.trac.wordpress.org/browser/footnotes/trunk/class/task.php?rev=1026210 @aricura’s latest class/task.php
|
||||||
|
*
|
||||||
|
*
|
||||||
* - Bugfix: Process: fix numbering bug impacting footnote #2 with footnote #1 close to start, thanks to @rumperuu bug report, thanks to @lolzim code contribution.
|
* - Bugfix: Process: fix numbering bug impacting footnote #2 with footnote #1 close to start, thanks to @rumperuu bug report, thanks to @lolzim code contribution.
|
||||||
*
|
*
|
||||||
* @since 2.5.5
|
* @since 2.5.5
|
||||||
|
@ -1716,12 +1726,15 @@ class MCI_Footnotes_Task {
|
||||||
* @reporter @rumperuu
|
* @reporter @rumperuu
|
||||||
* @link https://wordpress.org/support/topic/footnotes-numbered-incorrectly/
|
* @link https://wordpress.org/support/topic/footnotes-numbered-incorrectly/
|
||||||
*
|
*
|
||||||
* This line caused the algorithm to jump back near the post start, disturbing
|
* This assignment was overridden by another one, causing the algorithm to jump back
|
||||||
* the order of the footnotes depending on the text before the first footnote,
|
* near the post start to a position calculated as the sum of the length of the last
|
||||||
* the length of the first footnote and the length of the footnote and tooltip
|
* footnote and the length of the last footnote replace text.
|
||||||
* templates.
|
* A bug disturbing the order of the footnotes depending on the text before the first
|
||||||
|
* footnote, the length of the first footnote and the length of the templates for the
|
||||||
|
* footnote and the tooltip. Moreover, it was causing non-trivial process garbage.
|
||||||
*/
|
*/
|
||||||
// $l_int_PosStart = $l_int_Length + strlen($l_str_FootnoteReplaceText);
|
// add offset to the new starting position
|
||||||
|
$l_int_PosStart += $l_int_Length + strlen($l_str_EndingTag);
|
||||||
|
|
||||||
} while (true);
|
} while (true);
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
|
* Widget base.
|
||||||
*
|
*
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since x.x.x 14.09.14 14:30
|
* @since 1.5.0
|
||||||
|
* @date 14.09.14 14:30
|
||||||
|
*
|
||||||
|
* @lastmodified 2021-02-18T0306+0100
|
||||||
|
* @date 2021-02-18T0240+0100
|
||||||
|
* @since 1.6.4 Update: replace deprecated function WP_Widget() with recommended __construct(), thanks to @dartiss code contribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -60,6 +66,13 @@ abstract class MCI_Footnotes_WidgetBase extends WP_Widget {
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
|
*
|
||||||
|
* - Update: replace deprecated function WP_Widget() with recommended __construct(), thanks to @dartiss code contribution.
|
||||||
|
*
|
||||||
|
* @since 1.6.4
|
||||||
|
* @contributor @dartiss
|
||||||
|
* @link https://plugins.trac.wordpress.org/browser/footnotes/trunk/class/widgets/base.php?rev=1445720
|
||||||
|
* “The called constructor method for WP_Widget in MCI_Footnotes_Widget_ReferenceContainer is deprecated since version 4.3.0! Use __construct() instead.”
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
$l_arr_WidgetOptions = array("classname" => __CLASS__, "description" => $this->getDescription());
|
$l_arr_WidgetOptions = array("classname" => __CLASS__, "description" => $this->getDescription());
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
Plugin URI: https://wordpress.org/plugins/footnotes/
|
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.
|
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
|
Author: Mark Cheret
|
||||||
Version: 2.5.5
|
Version: 2.5.6d0
|
||||||
Author URI: http://cheret.de/plugins/footnotes-2/
|
Author URI: http://cheret.de/plugins/footnotes-2/
|
||||||
Text Domain: footnotes
|
Text Domain: footnotes
|
||||||
Domain Path: /languages
|
Domain Path: /languages
|
||||||
|
@ -18,10 +18,10 @@
|
||||||
* @since 2.1.4
|
* @since 2.1.4
|
||||||
* @since 2.5.3 (Hungarian)
|
* @since 2.5.3 (Hungarian)
|
||||||
* @var str
|
* @var str
|
||||||
* @lastmodified 2021-02-17T1232+0100
|
* @lastmodified 2021-02-18T1919+0100
|
||||||
* @committer @pewgeuges
|
* @committer @pewgeuges
|
||||||
*/
|
*/
|
||||||
define( 'C_STR_FOOTNOTES_VERSION', '2.5.5' );
|
define( 'C_STR_FOOTNOTES_VERSION', '2.5.6d0' );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
LICENSE NOTICE
|
LICENSE NOTICE
|
||||||
|
|
32
readme.txt
32
readme.txt
|
@ -15,23 +15,21 @@ Cheers for the review, folks!
|
||||||
|
|
||||||
https://www.youtube.com/watch?v=HzHaMAAJwbI
|
https://www.youtube.com/watch?v=HzHaMAAJwbI
|
||||||
|
|
||||||
**footnotes** aims to be the all-in-one solution for displaying an automatically generated list of references on your Page or Post. The Plugin ships with a set of sane defaults but also gives the user control over how their footnotes are being displayed.
|
**footnotes** aims to be the all-in-one solution for displaying an automatically generated list of references on your Page or Post. The Plugin ships with a set of current defaults but also empowers you to control how your footnotes are being displayed.
|
||||||
**footnotes** gives you the ability to display decently-formated footnotes on your WordPress Pages or Posts (those footnotes we know from offline publishing).
|
**footnotes** gives you the ability to display well-formatted footnotes on your WordPress Pages and Posts—those footnotes we know from offline publishing.
|
||||||
|
|
||||||
= Main Features =
|
= Main Features =
|
||||||
- Fully customizable **footnotes** shortcode
|
- Fully customizable **footnotes** start and end shortcodes;
|
||||||
- Decide, where your **footnotes** are displayed (position of the *Reference Container*)
|
- Styled tooltips supporting hyperlinks display **footnotes** or a dedicated text;
|
||||||
- Add custom CSS to style the appeareance of the **footnotes**
|
- Responsive *Reference Container* at the end or positioned by shortcode;
|
||||||
- Responsive *Reference Container*
|
- Display the **footnotes** *Reference Container* inside a Widget;
|
||||||
- Mouse-Over Box with clickable links displays your **footnotes** text
|
- Wide choice of numbering styles;
|
||||||
- Automatic numbering of your **footnotes**
|
- Freely configurable and optional backlink symbol;
|
||||||
- Choose from a list of symbols to represent your **footnotes**
|
- Configure the **footnotes’** appearance by dashboard settings and Custom CSS style rules;
|
||||||
- Display the **footnotes** *Reference Container* inside a Widget
|
- Button in both the Visual and the Text editor to add shortcodes around selection.
|
||||||
- Button in both the Visual and the Text editor
|
|
||||||
- Add **footnotes** into your Page / Post with ease of use by selecting your text and clicking the button
|
|
||||||
|
|
||||||
= Example Usage =
|
= Example Usage =
|
||||||
This is an example. Please note, that you can customize the shortcode you want to use.
|
These are a few examples of possible ways to delimit footnotes:
|
||||||
|
|
||||||
1. Your awesome text((with an awesome footnote))
|
1. Your awesome text((with an awesome footnote))
|
||||||
2. Your awesome text[ref]with an awesome footnote[/ref]
|
2. Your awesome text[ref]with an awesome footnote[/ref]
|
||||||
|
@ -44,7 +42,7 @@ The current version is available on the [WordPress.org plugins platform, Footnot
|
||||||
= Support =
|
= Support =
|
||||||
Please report feature requests, bugs and other support related questions in the [Footnotes section of WordPress Support Forum](https://wordpress.org/support/plugin/footnotes).
|
Please report feature requests, bugs and other support related questions in the [Footnotes section of WordPress Support Forum](https://wordpress.org/support/plugin/footnotes).
|
||||||
|
|
||||||
Speak your mind, unload your burdens. Notice how we screwed up big time? Bring it to our attention in the above-mentioned [WordPress Forum](https://wordpress.org/support/plugin/footnotes).
|
Speak your mind, unload your burden, bring it up, and feel free to [post your rating and review!](https://wordpress.org/support/plugin/footnotes/reviews/).
|
||||||
|
|
||||||
= Development =
|
= Development =
|
||||||
Development of the plugin is an open process. Latest code is available in the [plugin part of WordPress SVN repository, footnotes/](https://plugins.svn.wordpress.org/footnotes/).
|
Development of the plugin is an open process. Latest code is available in the [plugin part of WordPress SVN repository, footnotes/](https://plugins.svn.wordpress.org/footnotes/).
|
||||||
|
@ -373,11 +371,11 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
|
||||||
= 1.6.5 =
|
= 1.6.5 =
|
||||||
- Bugfix: Improve widgets registration, thanks to @felipelavinz code contribution.
|
- Bugfix: Improve widgets registration, thanks to @felipelavinz code contribution.
|
||||||
- Update: Fix for deprecated PHP function create_function(), thanks to @psykonevro @daliasued bug reports, thanks to @felipelavinz code contribution.
|
- Update: Fix for deprecated PHP function create_function(), thanks to @psykonevro @daliasued bug reports, thanks to @felipelavinz code contribution.
|
||||||
- Update: The CSS had been modified in order to show the tooltip numbers a little less higher than text
|
- Update: The CSS has been modified in order to show the tooltip numbers a little less higher than text
|
||||||
- Bugfix: Fixed error on demo in backend
|
- Bugfix: Dashboard: fix error on demo under the Preview tab.
|
||||||
|
|
||||||
= 1.6.4 =
|
= 1.6.4 =
|
||||||
- Bugfix: The deprecated WP_Widget elements have been replaced
|
- Update: replace deprecated function WP_Widget() with recommended __construct(), thanks to @dartiss code contribution.
|
||||||
- Bugfix: Fixed occasional bug where footnote ordering could be out of sequence
|
- Bugfix: Fixed occasional bug where footnote ordering could be out of sequence
|
||||||
|
|
||||||
= 1.6.3 =
|
= 1.6.3 =
|
||||||
|
|
Reference in a new issue