diff --git a/wp-includes/html-api/class-wp-html-tag-processor.php b/wp-includes/html-api/class-wp-html-tag-processor.php index bbc98ba721..bbe2b76065 100644 --- a/wp-includes/html-api/class-wp-html-tag-processor.php +++ b/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. . diff --git a/wp-includes/version.php b/wp-includes/version.php index 19341fc374..7ea53c6f6a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55205'; +$wp_version = '6.2-alpha-55206'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.