WordPress.org

Make WordPress Core

Ticket #5379: menu.php.diff

File menu.php.diff, 382 bytes (added by donncha, 12 years ago)
  • menu.php

     
    136136
    137137uksort($menu, "strnatcasecmp"); // make it all pretty
    138138
     139do_action( 'admin_menu_permission' );
     140
    139141if (! user_can_access_admin_page()) {
    140142        wp_die( __('You do not have sufficient permissions to access this page.') );
    141143}