WordPress.org

Make WordPress Core

Ticket #7799: menu.diff

File menu.diff, 1.5 KB (added by johnhennmacc, 6 years ago)
  • home/john/Tmp/trunk/wp-admin/menu.php

     
    3030 
    3131$top_menu[5]  = array( __('My Account'), 'read', 'profile.php' ); 
    3232$top_menu[10] = array( __('My Dashboard'), 'read', 'index.php' ); 
    33 $top_menu[15] = array( __('New Post'), 'edit_posts', 'post-new.php', 'highlighted' ); 
     33//$top_menu[15] = array( __('New Post'), 'edit_posts', 'post-new.php', 'highlighted' ); 
    3434//$top_menu[20] = array( sprintf( __('Inbox (%s)'), "<span id='inbox-num' class='count-$inbox_num'><span class='inbox-count'>" . number_format_i18n($inbox_num) . "</span></span>" ), 'edit_posts', 'inbox.php' ); 
    35 $top_menu[20] = array( sprintf( __('Comments (%s)'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='comment-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php'); 
    36 $top_menu[25] = array( __('Help'), 'read', 'index.php?help' ); // place holder 
     35//$top_menu[20] = array( sprintf( __('Comments (%s)'), "<span id='awaiting-mod' class='count-$awaiting_mod'><span class='comment-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'edit_posts', 'edit-comments.php'); 
     36//$top_menu[25] = array( __('Help'), 'read', 'index.php?help' ); // place holder 
     37$top_menu[30] = array( __('Visit Site'), 'read', get_settings('home'), 'highlighted' ); 
    3738 
    3839$top_submenu['profile.php'][5]  = array( __('Profile'), 'read', 'profile.php' ); 
    3940