WordPress.org

Make WordPress Core

Ticket #9438: 9438-localization-removed.patch

File 9438-localization-removed.patch, 464 bytes (added by hakre, 9 years ago)

a simple change removes the localization.

  • wp-admin/menu.php

     
    127127
    128128// Create list of page plugin hook names.
    129129foreach ($menu as $menu_page) {
    130         $admin_page_hooks[$menu_page[2]] = sanitize_title($menu_page[0]);
     130        $admin_page_hooks[$menu_page[2]] = sanitize_title(basename($menu_page[2], '.php'));
    131131}
    132132
    133133$_wp_submenu_nopriv = array();