From 4cd3d5e255005fa4df60d1fee30c98c0f404a8da Mon Sep 17 00:00:00 2001 From: pewgeuges <73141620+pewgeuges@users.noreply.github.com> Date: Wed, 24 Feb 2021 11:49:08 +0100 Subject: [PATCH] Fix&dispatch docblock h. class/layout/settings.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.) --- class/layout/settings.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/class/layout/settings.php b/class/layout/settings.php index 0b7ddac..638b2ce 100644 --- a/class/layout/settings.php +++ b/class/layout/settings.php @@ -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 numbering - * Displays all options for the scrolling behavior + * Displays all options for the footnotes start and end tag short codes. * * @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() { // 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() {