mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Introduce menu_name label for taxonomies and post types. Defaults to name. fixes #14832.
git-svn-id: https://develop.svn.wordpress.org/trunk@16251 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -403,6 +403,7 @@ function get_taxonomy_labels( $tax ) {
|
||||
'add_or_remove_items' => array( __( 'Add or remove tags' ), null ),
|
||||
'choose_from_most_used' => array( __( 'Choose from the most used tags' ), null ),
|
||||
);
|
||||
$nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
|
||||
|
||||
return _get_custom_object_labels( $tax, $nohier_vs_hier_defaults );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user