chore: remove date info (#94)
* chore: remove @lastmodified tags * chore: remove @date tags * chore: remove timestamps * chore: remove timestamps * chore: minor formatting fixes
This commit is contained in:
parent
b14a2d80bb
commit
27d3e6269e
30 changed files with 154 additions and 304 deletions
|
@ -5,7 +5,6 @@
|
|||
* @filesource
|
||||
* @package footnotes
|
||||
* @since 1.5.0
|
||||
* @date 14.09.14 10:43
|
||||
*
|
||||
* The constants are ordered by ascending version so their docblocks can replace most of this list.
|
||||
* @since 2.0.0 Update: **symbol for backlinks** removed; hyperlink moved to the reference number.
|
||||
|
@ -106,7 +105,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/mouse-over-broken/#post-13593037
|
||||
*
|
||||
* @since 2.0.4
|
||||
* @date 2020-11-02T2115+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_HYPERLINK_ARROW = 'footnote_inputfield_custom_hyperlink_symbol';
|
||||
|
@ -288,11 +286,9 @@ class MCI_Footnotes_Settings {
|
|||
* @var str
|
||||
*
|
||||
* @since 2.1.6 This setting removed as irrelevant since priority level settings need permanent visibility.
|
||||
* @date 2020-12-09T2107+0100
|
||||
*
|
||||
* Since the removal of the the_post hook, the tab is no danger zone any longer.
|
||||
* All users, not experts only, need to be able to control relative positioning.
|
||||
* @date 2020-11-06T1342+0100
|
||||
*/
|
||||
const C_STR_FOOTNOTES_EXPERT_MODE = 'footnote_inputfield_enable_expert_mode';
|
||||
|
||||
|
@ -422,7 +418,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/offset-x-axis-and-offset-y-axis-does-not-working/
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @date 2020-11-08T2106+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_FOOTNOTES_TOOLTIP_READON_LABEL = 'footnote_inputfield_readon_label';
|
||||
|
@ -436,7 +431,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/footnotes-appearing-in-header/page/2/#post-13632566
|
||||
*
|
||||
* @since 2.1.1
|
||||
* @date 2020-11-11T1817+0100
|
||||
* @var str
|
||||
*
|
||||
* These alternative tooltips work around a website related jQuery UI
|
||||
|
@ -455,7 +449,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/footnote-number-in-text-superscript-disrupts-leading/
|
||||
*
|
||||
* @since 2.1.1
|
||||
* @date 2020-11-16T0859+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS = 'footnotes_inputfield_referrer_superscript_tags';
|
||||
|
@ -469,7 +462,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/change-the-position-5/page/2/#post-13671138
|
||||
*
|
||||
* @since 2.1.1
|
||||
* @date 2020-11-16T2021+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE = 'footnotes_inputfield_reference_container_backlink_symbol_enable';
|
||||
|
@ -506,7 +498,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/change-the-position-5/#post-13615994
|
||||
*
|
||||
* @since 2.1.1
|
||||
* @date 2020-11-16T2024+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_REFERENCE_CONTAINER_BACKLINK_SYMBOL_SWITCH = 'footnotes_inputfield_reference_container_backlink_symbol_switch';
|
||||
|
@ -526,7 +517,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/change-the-position-5/#post-13538345
|
||||
*
|
||||
* @since 2.0.5
|
||||
* @date 2020-11-02T0330+0100
|
||||
* @link https://codex.wordpress.org/Plugin_API/#Hook_in_your_Filter
|
||||
*
|
||||
* - Bugfix: Dashboard: priority level setting for the_content hook, thanks to @imeson bug report.
|
||||
|
@ -535,7 +525,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/change-the-position-5/#post-13538345
|
||||
*
|
||||
* @since 2.1.1
|
||||
* @date 2020-11-16T0859+0100
|
||||
*
|
||||
* - Bugfix: Priority levels: set the_content priority level to 98 to prevent plugin conflict, thanks to @marthalindeman bug report.
|
||||
*
|
||||
|
@ -543,7 +532,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/code-showing-up-in-references/
|
||||
*
|
||||
* @since 2.1.6
|
||||
* @date 2020-12-10T0447+0100
|
||||
*
|
||||
* Priority level of the_content and of widget_text as the only relevant
|
||||
* hooks must be less than 99 because social buttons may yield scripts
|
||||
|
@ -573,7 +561,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/doesnt-work-any-more-11/#post-13676705
|
||||
*
|
||||
* @since 2.1.2
|
||||
* @date 2020-11-20T0620+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_title_priority_level';
|
||||
|
@ -582,7 +569,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for 'widget_title' hook priority level.
|
||||
*
|
||||
* @since 2.1.2
|
||||
* @date 2020-11-20T0620+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_EXPERT_LOOKUP_WIDGET_TITLE_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_title_priority_level';
|
||||
|
@ -591,7 +577,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for 'widget_text' hook priority level.
|
||||
*
|
||||
* @since 2.1.2
|
||||
* @date 2020-11-20T0620+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_EXPERT_LOOKUP_WIDGET_TEXT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_widget_text_priority_level';
|
||||
|
@ -600,7 +585,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for 'the_excerpt' hook priority level.
|
||||
*
|
||||
* @since 2.1.2
|
||||
* @date 2020-11-20T0620+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_EXPERT_LOOKUP_THE_EXCERPT_PRIORITY_LEVEL = 'footnote_inputfield_expert_lookup_the_excerpt_priority_level';
|
||||
|
@ -735,7 +719,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key to enable setting the tooltip font size.
|
||||
*
|
||||
* @since 2.1.4
|
||||
* @date 2020-12-04T1023+0100.
|
||||
* @var str
|
||||
*
|
||||
* Tooltip font size reset to legacy by default since 2.1.4;
|
||||
|
@ -775,7 +758,6 @@ class MCI_Footnotes_Settings {
|
|||
* - Bugfix: Scroll offset: make configurable to fix site-dependent issues related to fixed headers.
|
||||
*
|
||||
* @since 2.1.4
|
||||
* @date 2020-12-05T0538+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_FOOTNOTES_SCROLL_OFFSET = 'footnotes_inputfield_scroll_offset';
|
||||
|
@ -786,7 +768,6 @@ class MCI_Footnotes_Settings {
|
|||
* - Bugfix: Scroll duration: make configurable to conform to website content and style requirements.
|
||||
*
|
||||
* @since 2.1.4
|
||||
* @date 2020-12-05T0538+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_FOOTNOTES_SCROLL_DURATION = 'footnotes_inputfield_scroll_duration';
|
||||
|
@ -795,7 +776,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for tooltip display fade-in delay.
|
||||
*
|
||||
* @since 2.1.4
|
||||
* @date 2020-12-05T0538+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_MOUSE_OVER_BOX_FADE_IN_DELAY = 'footnotes_inputfield_mouse_over_box_fade_in_delay';
|
||||
|
@ -804,7 +784,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for tooltip display fade-in duration.
|
||||
*
|
||||
* @since 2.1.4
|
||||
* @date 2020-12-05T0538+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_MOUSE_OVER_BOX_FADE_IN_DURATION = 'footnotes_inputfield_mouse_over_box_fade_in_duration';
|
||||
|
@ -813,7 +792,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for tooltip display fade-out delay.
|
||||
*
|
||||
* @since 2.1.4
|
||||
* @date 2020-12-05T0538+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_MOUSE_OVER_BOX_FADE_OUT_DELAY = 'footnotes_inputfield_mouse_over_box_fade_out_delay';
|
||||
|
@ -822,7 +800,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for tooltip display fade-out duration.
|
||||
*
|
||||
* @since 2.1.4
|
||||
* @date 2020-12-05T0538+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_MOUSE_OVER_BOX_FADE_OUT_DURATION = 'footnotes_inputfield_mouse_over_box_fade_out_duration';
|
||||
|
@ -834,7 +811,6 @@ class MCI_Footnotes_Settings {
|
|||
* Unicode-compliant browsers break URLs at slashes.
|
||||
*
|
||||
* @since 2.1.6
|
||||
* @date 2020-12-09T1606+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_FOOTNOTE_URL_WRAP_ENABLED = 'footnote_inputfield_url_wrap_enabled';
|
||||
|
@ -848,7 +824,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/reference-container-in-elementor/
|
||||
*
|
||||
* @since 2.2.0
|
||||
* @date 2020-12-13T2056+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_REFERENCE_CONTAINER_POSITION_SHORTCODE = 'footnote_inputfield_reference_container_position_shortcode';
|
||||
|
@ -859,7 +834,6 @@ class MCI_Footnotes_Settings {
|
|||
* - Update: Dashboard: Custom CSS: unearth text area and migrate to dedicated tab as designed.
|
||||
*
|
||||
* @since 2.2.2
|
||||
* @date 2020-12-15T0520+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_CUSTOM_CSS_NEW = 'footnote_inputfield_custom_css_new';
|
||||
|
@ -868,13 +842,11 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key to enable display of legacy Custom CSS metaboxes.
|
||||
*
|
||||
* @since 2.2.2
|
||||
* @date 2020-12-15T0520+0100
|
||||
* @var str
|
||||
*
|
||||
* - Bugfix: Dashboard: Custom CSS: swap migration Boolean, meaning 'show legacy' instead of 'migration complete', due to storage data structure constraints.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @date 2020-12-27T1233+0100
|
||||
*
|
||||
* The Boolean must be false if its setting is contained in the container to be hidden,
|
||||
* because when saving, all missing constants are emptied, and to_bool() converts empty to false.
|
||||
|
@ -885,7 +857,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for alternative tooltip position.
|
||||
*
|
||||
* @since 2.2.5
|
||||
* @date 2020-12-17T0746+0100
|
||||
* @var str
|
||||
*
|
||||
* Fixed width is for alternative tooltips, cannot reuse max-width nor offsets.
|
||||
|
@ -896,7 +867,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for alternative tooltip x offset.
|
||||
*
|
||||
* @since 2.2.5
|
||||
* @date 2020-12-17T0746+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_X = 'footnotes_inputfield_alternative_mouse_over_box_offset_x';
|
||||
|
@ -905,7 +875,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for alternative tooltip y offset.
|
||||
*
|
||||
* @since 2.2.5
|
||||
* @date 2020-12-17T0746+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_OFFSET_Y = 'footnotes_inputfield_alternative_mouse_over_box_offset_y';
|
||||
|
@ -914,7 +883,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for alternative tooltip width.
|
||||
*
|
||||
* @since 2.2.5
|
||||
* @date 2020-12-17T0746+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_FOOTNOTES_ALTERNATIVE_MOUSE_OVER_BOX_WIDTH = 'footnotes_inputfield_alternative_mouse_over_box_width';
|
||||
|
@ -929,7 +897,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/
|
||||
*
|
||||
* @since 2.2.5
|
||||
* @date 2020-12-18T1509+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_REFERENCE_CONTAINER_LABEL_ELEMENT = 'footnotes_inputfield_reference_container_label_element';
|
||||
|
@ -943,7 +910,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/how-do-i-eliminate-the-horizontal-line-beneath-the-reference-container-heading/
|
||||
*
|
||||
* @since 2.2.5
|
||||
* @date 2020-12-18T1509+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_REFERENCE_CONTAINER_LABEL_BOTTOM_BORDER = 'footnotes_inputfield_reference_container_label_bottom_border';
|
||||
|
@ -957,7 +923,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/borders-25/
|
||||
*
|
||||
* @since 2.2.10
|
||||
* @date 2020-12-25T2311+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_REFERENCE_CONTAINER_ROW_BORDERS_ENABLE = 'footnotes_inputfield_reference_container_row_borders_enable';
|
||||
|
@ -971,7 +936,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @date 2020-12-29T0914+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_REFERENCE_CONTAINER_TOP_MARGIN = 'footnotes_inputfield_reference_container_top_margin';
|
||||
|
@ -985,7 +949,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/reference-container-in-elementor/#post-13786635
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @date 2020-12-29T0914+0100
|
||||
* @var int
|
||||
*/
|
||||
const C_INT_REFERENCE_CONTAINER_BOTTOM_MARGIN = 'footnotes_inputfield_reference_container_bottom_margin';
|
||||
|
@ -1002,7 +965,6 @@ class MCI_Footnotes_Settings {
|
|||
* @link https://wordpress.org/support/topic/footnotes-is-not-amp-compatible/
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @date 2020-12-29T0914+0100
|
||||
* @var str
|
||||
*
|
||||
* When the alternative reference container is enabled, hard links are too.
|
||||
|
@ -1013,7 +975,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for the fragment ID slug in referrers.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @date 2020-12-29T0914+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_REFERRER_FRAGMENT_ID_SLUG = 'footnotes_inputfield_referrer_fragment_id_slug';
|
||||
|
@ -1022,7 +983,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for the fragment ID slug in footnotes.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @date 2020-12-29T0914+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_FOOTNOTE_FRAGMENT_ID_SLUG = 'footnotes_inputfield_footnote_fragment_id_slug';
|
||||
|
@ -1031,7 +991,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key for the ID separator in fragment IDs.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @date 2020-12-29T0914+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_HARD_LINK_IDS_SEPARATOR = 'footnotes_inputfield_hard_link_ids_separator';
|
||||
|
@ -1040,7 +999,6 @@ class MCI_Footnotes_Settings {
|
|||
* Settings container key to enable shortcode syntax validation.
|
||||
*
|
||||
* @since 2.4.0
|
||||
* @date 2021-01-01T0616+0100
|
||||
* @var str
|
||||
*/
|
||||
const C_STR_FOOTNOTE_SHORTCODE_SYNTAX_VALIDATION_ENABLE = 'footnotes_inputfield_shortcode_syntax_validation_enable';
|
||||
|
@ -1247,7 +1205,7 @@ class MCI_Footnotes_Settings {
|
|||
* @var array
|
||||
*
|
||||
* Edited.
|
||||
* 2.2.2 added tab for Custom CSS 2020-12-15T0740+0100
|
||||
* 2.2.2 added tab for Custom CSS
|
||||
*
|
||||
* These are the storage container names, one per dashboard tab.
|
||||
*/
|
||||
|
@ -1588,7 +1546,6 @@ class MCI_Footnotes_Settings {
|
|||
* @since 2.2.0 this function is not called any longer when deleting the plugin,
|
||||
* to protect user data against loss, since manually updating a plugin is safer
|
||||
* done by deleting and reinstalling (see the warning about database backup).
|
||||
* 2020-12-13T1353+0100
|
||||
*/
|
||||
public function clear_all() {
|
||||
// Iterate through each Settings Container.
|
||||
|
|
Reference in a new issue