From 80e5ebb0cc01b01f0625031b583af3caa70dbf14 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Jul 2023 13:16:21 +0000 Subject: [PATCH] Coding Standards: Always declare visibility for class methods. This adds a missing `public` keyword for `WP_HTML_Tag_Processor::get_attribute_names_with_prefix()`. Follow-up to [55203]. Props jrf. See #58831. Built from https://develop.svn.wordpress.org/trunk@56301 git-svn-id: http://core.svn.wordpress.org/trunk@55813 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/html-api/class-wp-html-tag-processor.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 debc87321c..2e84b3d719 100644 --- a/wp-includes/html-api/class-wp-html-tag-processor.php +++ b/wp-includes/html-api/class-wp-html-tag-processor.php @@ -1743,7 +1743,7 @@ class WP_HTML_Tag_Processor { * @param string $prefix Prefix of requested attribute names. * @return array|null List of attribute names, or `null` when no tag opener is matched. */ - function get_attribute_names_with_prefix( $prefix ) { + public function get_attribute_names_with_prefix( $prefix ) { if ( $this->is_closing_tag || null === $this->tag_name_starts_at ) { return null; } diff --git a/wp-includes/version.php b/wp-includes/version.php index a954fed417..9811d9686e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56300'; +$wp_version = '6.4-alpha-56301'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.