mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
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:
parent
577b07285e
commit
80e5ebb0cc
@ -1743,7 +1743,7 @@ class WP_HTML_Tag_Processor {
|
|||||||
* @param string $prefix Prefix of requested attribute names.
|
* @param string $prefix Prefix of requested attribute names.
|
||||||
* @return array|null List of attribute names, or `null` when no tag opener is matched.
|
* @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 ) {
|
if ( $this->is_closing_tag || null === $this->tag_name_starts_at ) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user