WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/19/2010 10:26:44 AM (12 years ago)
Author:
dd32
Message:

More Taxonomy cap checks. See #12035

File:
1 edited

Legend:

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

    r12987 r13217  
    9898    $label = isset($taxonomy->label) ? esc_attr($taxonomy->label) : $tax_name;
    9999
    100     if ( !current_user_can($taxonomy->manage_cap) )
    101         continue;
    102 
    103100    if ( !is_taxonomy_hierarchical($tax_name) )
    104101        add_meta_box('tagsdiv-' . $tax_name, $label, 'post_tags_meta_box', $post_type, 'side', 'core');
Note: See TracChangeset for help on using the changeset viewer.