WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/13/2021 10:23:56 AM (10 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @since tags for item_link and item_link_description post type and taxonomy labels.

Follow-up to [50527].

See #52688.

File:
1 edited

Legend:

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

    r50527 r50529  
    539539 * @since 4.9.0 Added the `most_used` and `back_to_items` labels.
    540540 * @since 5.7.0 Added the `filter_by_item` label.
     541 * @since 5.8.0 Added the `item_link` and `item_link_description` labels.
    541542 *
    542543 * @param WP_Taxonomy $tax Taxonomy object.
     
    580581 *                                              Default 'Tag Link'/'Category Link'.
    581582 *     @type string $item_link_description      Used in the block editor. Description for a navigation link block
    582  *                                              variation. Default 'A link to a tag.'/'A link to a category'.
     583 *                                              variation. Default 'A link to a tag'/'A link to a category'.
    583584 * }
    584585 */
     
    627628        ),
    628629    );
     630
    629631    $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
    630632
Note: See TracChangeset for help on using the changeset viewer.