Changeset 10557 for trunk/wp-admin/menu.php
- Timestamp:
- 02/12/2009 08:00:29 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/menu.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r10553 r10557 33 33 $submenu['edit.php'][5] = array( __('Edit'), 'edit_posts', 'edit.php' ); 34 34 $submenu['edit.php'][10] = array( _c('Add New|post'), 'edit_posts', 'post-new.php' ); 35 $submenu['edit.php'][15] = array( __('Tags'), 'manage_categories', 'edit-tags.php' ); 35 36 $i = 15; 37 foreach ( $wp_taxonomies as $tax ) { 38 if ( 'category' == $tax->name || 'link_category' == $tax->name ) 39 continue; 40 41 $submenu['edit.php'][$i] = array( attribute_escape($tax->label), 'manage_categories', 'edit-tags.php?taxonomy=' . $tax->name ); 42 ++$i; 43 } 44 36 45 $submenu['edit.php'][20] = array( __('Categories'), 'manage_categories', 'categories.php' ); 37 46
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)