Make WordPress Core


Ignore:
Timestamp:
02/20/2010 10:24:47 PM (16 years ago)
Author:
ryan
Message:

Don't show menu for menu taxonomy. see #11817

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r13258 r13259  
    3939                                                                                                ) ) ;
    4040
    41         register_taxonomy( 'menu', 'post', array(       'hierarchical' => false,
    42                                                                                                                 'query_var' => false,
    43                                                                                                                 'rewrite' => false
    44                                                                                                         ) ) ;
     41        register_taxonomy( 'menu', 'post', array(               'hierarchical' => false,
     42                                                                                                        'query_var' => false,
     43                                                                                                        'rewrite' => false,
     44                                                                                                        'show_ui' => false,
     45                                                                                        ) ) ;
    4546
    4647        register_taxonomy( 'link_category', 'link', array(      'hierarchical' => false,
Note: See TracChangeset for help on using the changeset viewer.