Changeset 14593 for trunk/wp-admin/menu.php
- Timestamp:
- 05/13/2010 04:10:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r14585 r14593 90 90 continue; 91 91 92 $submenu['edit.php'][$i++] = array( esc_attr($tax->label), $tax-> manage_cap, 'edit-tags.php?taxonomy=' . $tax->name );92 $submenu['edit.php'][$i++] = array( esc_attr($tax->label), $tax->cap->manage_terms, 'edit-tags.php?taxonomy=' . $tax->name ); 93 93 } 94 94 unset($tax); … … 139 139 continue; 140 140 141 $submenu["edit.php?post_type=$ptype"][$i++] = array( esc_attr($tax->label), $tax-> manage_cap, "edit-tags.php?taxonomy=$tax->name&post_type=$ptype" );141 $submenu["edit.php?post_type=$ptype"][$i++] = array( esc_attr($tax->label), $tax->cap->manage_terms, "edit-tags.php?taxonomy=$tax->name&post_type=$ptype" ); 142 142 } 143 143 }
Note: See TracChangeset
for help on using the changeset viewer.