Make WordPress Core


Ignore:
Timestamp:
10/18/2021 05:51:17 PM (2 years ago)
Author:
hellofromTonya
Message:

Coding Standards: Add public visibility to methods in src directory.

This commit adds the public visibility keyword to each method which did not have an explicit visibility keyword.

Why public?

With no visibility previously declared, these methods are implicitly public and available for use. Changing them to anything else would be a backwards-compatibility break.

Props costdev, jrf.
See #54177.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-setting.php

    r51783 r51919  
    269269     * @ignore
    270270     */
    271     static public function reset_aggregated_multidimensionals() {
     271    public static function reset_aggregated_multidimensionals() {
    272272        self::$aggregated_multidimensionals = array();
    273273    }
Note: See TracChangeset for help on using the changeset viewer.