Make WordPress Core

Ticket #18653: show_tax_ui_post_editor.diff

File show_tax_ui_post_editor.diff, 526 bytes (added by transom, 15 years ago)
  • wp-admin/edit-form-advanced.php

     
    108108// all taxonomies
    109109foreach ( get_object_taxonomies($post_type) as $tax_name ) {
    110110        $taxonomy = get_taxonomy($tax_name);
    111         if ( ! $taxonomy->show_ui )
     111        if ( ! apply_filters('post_edit_tax_meta_box', $taxonomy->show_ui, $taxonomy, $post_type) )
    112112                continue;
    113113
    114114        $label = $taxonomy->labels->name;