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
This commit is contained in:
Sergey Biryukov 2023-07-25 13:16:21 +00:00
parent 577b07285e
commit 80e5ebb0cc
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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.