Fix&dispatch docblock h. class/layout/settings.php

Fix 2 function docblock headings by dispatching them from the originally single metabox function docblock.
Also add version tags to the 2 metaboxes split off @since 2.2.0.
* Displays all options for the footnotes start and end tag short codes. (Initially called “Footnotes styling”.)
* Displays all options for the footnotes numbering. (Newly individualized.)
* Displays all options for the scrolling behavior. (Totally new as scroll offset and duration were initially hard-coded in the template.)
(This is part of WP coding standard compliance.)
This commit is contained in:
pewgeuges 2021-02-24 11:49:08 +01:00 committed by GitHub
parent b339fd949f
commit 4cd3d5e255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,9 +339,7 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
} }
/** /**
* Displays all options for the footnotes start and end tag short codes * Displays all options for the footnotes start and end tag short codes.
* Displays all options for the footnotes numbering
* Displays all options for the scrolling behavior
* *
* @since 1.5.0 * @since 1.5.0
* *
@ -430,7 +428,9 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
} }
/** /**
* TODO: what does this do? * Displays all options for the footnotes numbering.
*
* @since 2.2.0
*/ */
public function numbering() { public function numbering() {
// Define some space for the output. // Define some space for the output.
@ -473,7 +473,9 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_Layout_Engine {
} }
/** /**
* TODO: what does this do? * Displays all options for the scrolling behavior.
*
* @since 2.2.0
*/ */
public function scrolling() { public function scrolling() {