Make WordPress Core


Ignore:
Timestamp:
06/09/2010 09:59:13 PM (15 years ago)
Author:
ryan
Message:

Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r15132 r15183  
    118118
    119119    if ( !is_taxonomy_hierarchical($tax_name) )
    120         add_meta_box('tagsdiv-' . $tax_name, $label, 'post_tags_meta_box', $post_type, 'side', 'core');
     120        add_meta_box('tagsdiv-' . $tax_name, $label, 'post_tags_meta_box', $post_type, 'side', 'core', array( 'taxonomy' => $tax_name ));
    121121    else
    122122        add_meta_box($tax_name . 'div', $label, 'post_categories_meta_box', $post_type, 'side', 'core', array( 'taxonomy' => $tax_name ));
Note: See TracChangeset for help on using the changeset viewer.