Make WordPress Core


Ignore:
Timestamp:
03/13/2021 10:23:56 AM (4 years 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/post.php

    r50527 r50529  
    17231723 *              `item_scheduled`, and `item_updated` labels.
    17241724 * @since 5.7.0 Added the `filter_by_date` label.
     1725 * @since 5.8.0 Added the `item_link` and `item_link_description` labels.
    17251726 *
    17261727 * @access private
     
    17301731 */
    17311732function get_post_type_labels( $post_type_object ) {
    1732     $nohier_vs_hier_defaults                  = array(
     1733    $nohier_vs_hier_defaults = array(
    17331734        'name'                     => array( _x( 'Posts', 'post type general name' ), _x( 'Pages', 'post type general name' ) ),
    17341735        'singular_name'            => array( _x( 'Post', 'post type singular name' ), _x( 'Page', 'post type singular name' ) ),
     
    17701771        ),
    17711772    );
     1773
    17721774    $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
    17731775
Note: See TracChangeset for help on using the changeset viewer.