Ticket #489: i18n-patch-menu-php.diff
| File i18n-patch-menu-php.diff, 819 bytes (added by , 21 years ago) |
|---|
-
wp-admin/menu.php
old new 15 15 $menu[45] = array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php'); 16 16 ksort($menu); // So other files can plugin 17 17 18 $submenu['post.php'][5] = array( 'Write Post', 1, 'post.php');19 $submenu['post.php'][10] = array( 'Write Page', 5, 'page-new.php');18 $submenu['post.php'][5] = array(__('Write Post'), 1, 'post.php'); 19 $submenu['post.php'][10] = array(__('Write Page'), 5, 'page-new.php'); 20 20 21 21 $submenu['edit.php'][5] = array(__('Posts'), 1, 'edit.php'); 22 22 $submenu['edit.php'][10] = array(__('Pages'), 5, 'edit-pages.php'); … … 53 53 die( __('You have do not have sufficient permissions to access this page.') ); 54 54 } 55 55 56 ?> 57 No newline at end of file 56 ?>