| 1 | Index: menu.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- menu.php (revision 21080) |
|---|
| 4 | +++ menu.php (working copy) |
|---|
| 5 | @@ -39,8 +39,8 @@ |
|---|
| 6 | |
|---|
| 7 | $menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' ); |
|---|
| 8 | |
|---|
| 9 | -$menu[5] = array( __('Posts'), 'edit_posts', 'edit.php', '', 'open-if-no-js menu-top menu-icon-post', 'menu-posts', 'div' ); |
|---|
| 10 | - $submenu['edit.php'][5] = array( __('All Posts'), 'edit_posts', 'edit.php' ); |
|---|
| 11 | +$menu[5] = array( __('Blog'), 'edit_posts', 'edit.php', '', 'open-if-no-js menu-top menu-icon-post', 'menu-posts', 'div' ); |
|---|
| 12 | + $submenu['edit.php'][5] = array( __('Posts'), 'edit_posts', 'edit.php' ); |
|---|
| 13 | /* translators: add new post */ |
|---|
| 14 | $submenu['edit.php'][10] = array( _x('Add New', 'post'), 'edit_posts', 'post-new.php' ); |
|---|
| 15 | |
|---|
| 16 | @@ -53,18 +53,7 @@ |
|---|
| 17 | } |
|---|
| 18 | unset($tax); |
|---|
| 19 | |
|---|
| 20 | -$menu[10] = array( __('Media'), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'div' ); |
|---|
| 21 | - $submenu['upload.php'][5] = array( __('Library'), 'upload_files', 'upload.php'); |
|---|
| 22 | - /* translators: add new file */ |
|---|
| 23 | - $submenu['upload.php'][10] = array( _x('Add New', 'file'), 'upload_files', 'media-new.php'); |
|---|
| 24 | - |
|---|
| 25 | -$menu[15] = array( __('Links'), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'div' ); |
|---|
| 26 | - $submenu['link-manager.php'][5] = array( _x('All Links', 'admin menu'), 'manage_links', 'link-manager.php' ); |
|---|
| 27 | - /* translators: add new links */ |
|---|
| 28 | - $submenu['link-manager.php'][10] = array( _x('Add New', 'link'), 'manage_links', 'link-add.php' ); |
|---|
| 29 | - $submenu['link-manager.php'][15] = array( __('Link Categories'), 'manage_categories', 'edit-tags.php?taxonomy=link_category' ); |
|---|
| 30 | - |
|---|
| 31 | -$menu[20] = array( __('Pages'), 'edit_pages', 'edit.php?post_type=page', '', 'menu-top menu-icon-page', 'menu-pages', 'div' ); |
|---|
| 32 | +$menu[10] = array( __('Pages'), 'edit_pages', 'edit.php?post_type=page', '', 'menu-top menu-icon-page', 'menu-pages', 'div' ); |
|---|
| 33 | $submenu['edit.php?post_type=page'][5] = array( __('All Pages'), 'edit_pages', 'edit.php?post_type=page' ); |
|---|
| 34 | /* translators: add new page */ |
|---|
| 35 | $submenu['edit.php?post_type=page'][10] = array( _x('Add New', 'page'), 'edit_pages', 'post-new.php?post_type=page' ); |
|---|
| 36 | @@ -77,6 +66,17 @@ |
|---|
| 37 | } |
|---|
| 38 | unset($tax); |
|---|
| 39 | |
|---|
| 40 | +$menu[15] = array( __('Media'), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'div' ); |
|---|
| 41 | + $submenu['upload.php'][5] = array( __('Library'), 'upload_files', 'upload.php'); |
|---|
| 42 | + /* translators: add new file */ |
|---|
| 43 | + $submenu['upload.php'][10] = array( _x('Add New', 'file'), 'upload_files', 'media-new.php'); |
|---|
| 44 | + |
|---|
| 45 | +$menu[20] = array( __('Links'), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'div' ); |
|---|
| 46 | + $submenu['link-manager.php'][5] = array( _x('All Links', 'admin menu'), 'manage_links', 'link-manager.php' ); |
|---|
| 47 | + /* translators: add new links */ |
|---|
| 48 | + $submenu['link-manager.php'][10] = array( _x('Add New', 'link'), 'manage_links', 'link-add.php' ); |
|---|
| 49 | + $submenu['link-manager.php'][15] = array( __('Link Categories'), 'manage_categories', 'edit-tags.php?taxonomy=link_category' ); |
|---|
| 50 | + |
|---|
| 51 | $awaiting_mod = wp_count_comments(); |
|---|
| 52 | $awaiting_mod = $awaiting_mod->moderated; |
|---|
| 53 | $menu[25] = array( sprintf( __('Comments %s'), "<span class='awaiting-mod count-$awaiting_mod'><span class='pending-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php', '', 'menu-top menu-icon-comments', 'menu-comments', 'div' ); |
|---|