From f0cbb9dde4e929194ceed9b23bb208fa95ee0864 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 3 Feb 2023 02:12:36 +0000 Subject: [PATCH] Fix couple of typos in inline docs. Props: ironprogrammer. See #57575. git-svn-id: https://develop.svn.wordpress.org/trunk@55206 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/html-api/class-wp-html-tag-processor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/html-api/class-wp-html-tag-processor.php b/src/wp-includes/html-api/class-wp-html-tag-processor.php index bbc98ba721..bbe2b76065 100644 --- a/src/wp-includes/html-api/class-wp-html-tag-processor.php +++ b/src/wp-includes/html-api/class-wp-html-tag-processor.php @@ -558,7 +558,7 @@ class WP_HTML_Tag_Processor { * * @type string|null $tag_name Which tag to find, or `null` for "any tag." * @type int|null $match_offset Find the Nth tag matching all search criteria. - * 0 for "first" tag, 2 for "third," etc. + * 1 for "first" tag, 3 for "third," etc. * Defaults to first tag. * @type string|null $class_name Tag must contain this whole class name to match. * @type string|null $tag_closers "visit" or "skip": whether to stop on tag closers, e.g. . @@ -2097,7 +2097,7 @@ class WP_HTML_Tag_Processor { * * @type string|null $tag_name Which tag to find, or `null` for "any tag." * @type int|null $match_offset Find the Nth tag matching all search criteria. - * 0 for "first" tag, 2 for "third," etc. + * 1 for "first" tag, 3 for "third," etc. * Defaults to first tag. * @type string|null $class_name Tag must contain this class name to match. * @type string $tag_closers "visit" or "skip": whether to stop on tag closers, e.g. .