mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@56301 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cea06ccebc
commit
d3ea5c29c0
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user