Ticket #17511: 17511.diff
File 17511.diff, 799 bytes (added by , 14 years ago) |
---|
-
menu.php
114 114 $menu[25] = array( sprintf( __('Comments %s'), "<span id='awaiting-mod' class='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' ); 115 115 unset($awaiting_mod); 116 116 117 $submenu[ 'edit-comments.php' ][0] = array( __('All Comments'), 'edit_posts', 'edit-comments.php' );118 119 117 $_wp_last_object_menu = 25; // The index of the last top-level menu in the object menu group 120 118 121 119 foreach ( (array) get_post_types( array('show_ui' => true, '_builtin' => false, 'show_in_menu' => true ) ) as $ptype ) {