Changeset 13216 for trunk/wp-admin/menu.php
- Timestamp:
- 02/19/2010 10:21:29 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/menu.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r13094 r13216 58 58 $i = 15; 59 59 foreach ( $wp_taxonomies as $tax ) { 60 if ( ! in_array('post', (array) $tax->object_type, true) )60 if ( ! $tax->show_ui || ! in_array('post', (array) $tax->object_type, true) ) 61 61 continue; 62 62 … … 95 95 $i = 15; 96 96 foreach ( $wp_taxonomies as $tax ) { 97 if ( ! in_array($ptype, (array) $tax->object_type, true) )97 if ( ! $tax->show_ui || ! in_array($ptype, (array) $tax->object_type, true) ) 98 98 continue; 99 99
Note: See TracChangeset
for help on using the changeset viewer.