Make WordPress Core


Ignore:
Timestamp:
01/30/2022 07:23:25 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Increase the specificity of types in various inline documentation.

See #54729

File:
1 edited

Legend:

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

    r51965 r52652  
    145145         *
    146146         * @since 4.7.0
    147          * @var array
     147         * @var string[]
    148148         */
    149149        public $object_type = null;
    … …  
    290290         * @since 4.7.0
    291291         *
    292          * @param array|string $object_type Name of the object type for the taxonomy object.
    293          * @param array|string $args        Array or query string of arguments for registering a taxonomy.
     292         * @param string|string[] $object_type Name or array of names of the object types for the taxonomy.
     293         * @param array|string    $args        Array or query string of arguments for registering a taxonomy.
    294294         */
    295295        public function set_props( $object_type, $args ) {
Note: See TracChangeset for help on using the changeset viewer.