Make WordPress Core


Ignore:
Timestamp:
11/24/2020 09:25:46 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Upgrade more parameters in docblocks to used typed array notation.

See #51800, #41756

File:
1 edited

Legend:

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

    r49669 r49693  
    345345 *     Optional. Array or query string of arguments for registering a taxonomy.
    346346 *
    347  *     @type array         $labels                An array of labels for this taxonomy. By default, Tag labels are
     347 *     @type string[]      $labels                An array of labels for this taxonomy. By default, Tag labels are
    348348 *                                                used for non-hierarchical taxonomies, and Category labels are used
    349349 *                                                for hierarchical taxonomies. See accepted values in
     
    383383 *                                                box. If no callback is defined, an appropriate one is determined
    384384 *                                                based on the value of `$meta_box_cb`.
    385  *     @type array         $capabilities {
     385 *     @type string[]      $capabilities {
    386386 *         Array of capabilities for this taxonomy.
    387387 *
Note: See TracChangeset for help on using the changeset viewer.