Make WordPress Core

Changeset 56301


Ignore:
Timestamp:
07/25/2023 01:14:26 PM (10 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php

    r56274 r56301  
    17441744     * @return array|null List of attribute names, or `null` when no tag opener is matched.
    17451745     */
    1746     function get_attribute_names_with_prefix( $prefix ) {
     1746    public function get_attribute_names_with_prefix( $prefix ) {
    17471747        if ( $this->is_closing_tag || null === $this->tag_name_starts_at ) {
    17481748            return null;
Note: See TracChangeset for help on using the changeset viewer.