Make WordPress Core


Ignore:
Timestamp:
11/09/2010 02:09:00 AM (13 years ago)
Author:
nacin
Message:

Introduce menu_name label for taxonomies and post types. Defaults to name. fixes #14832.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r16206 r16251  
    11431143        'not_found' => array( __('No posts found.'), __('No pages found.') ),
    11441144        'not_found_in_trash' => array( __('No posts found in Trash.'), __('No pages found in Trash.') ),
    1145         'parent_item_colon' => array( null, __('Parent Page:') )
     1145        'parent_item_colon' => array( null, __('Parent Page:') ),
    11461146    );
     1147    $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
    11471148    return _get_custom_object_labels( $post_type_object, $nohier_vs_hier_defaults );
    11481149}
Note: See TracChangeset for help on using the changeset viewer.