mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-10 12:10:12 +00:00
I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -112,7 +112,7 @@ foreach ( get_object_taxonomies($post_type) as $tax_name ) {
|
||||
if ( ! $taxonomy->show_ui )
|
||||
continue;
|
||||
|
||||
$label = isset($taxonomy->label) ? esc_attr($taxonomy->label) : $tax_name;
|
||||
$label = $taxonomy->labels->name;
|
||||
|
||||
if ( !is_taxonomy_hierarchical($tax_name) )
|
||||
add_meta_box('tagsdiv-' . $tax_name, $label, 'post_tags_meta_box', $post_type, 'side', 'core');
|
||||
|
||||
Reference in New Issue
Block a user