Ticket #14105: update-favorites-menu-labels.patch
| File update-favorites-menu-labels.patch, 1.7 KB (added by TECannon, 3 years ago) |
|---|
-
wp-admin/includes/template.php
3335 3335 $default_action = array('media-new.php' => array(__('New Media'), 'upload_files')); 3336 3336 break; 3337 3337 case 'media': 3338 $default_action = array('upload.php' => array(__(' Edit Media'), 'upload_files'));3338 $default_action = array('upload.php' => array(__('Media Library'), 'upload_files')); 3339 3339 break; 3340 3340 case 'link-manager': 3341 3341 case 'link': 3342 3342 if ( 'add' != $screen->action ) 3343 3343 $default_action = array('link-add.php' => array(__('New Link'), 'manage_links')); 3344 3344 else 3345 $default_action = array('link-manager.php' => array(__(' EditLinks'), 'manage_links'));3345 $default_action = array('link-manager.php' => array(__('Links'), 'manage_links')); 3346 3346 break; 3347 3347 case 'users': 3348 3348 $default_action = array('user-new.php' => array(__('New User'), 'create_users')); 3349 3349 break; 3350 3350 case 'user': 3351 $default_action = array('users.php' => array(__(' EditUsers'), 'edit_users'));3351 $default_action = array('users.php' => array(__('Users'), 'edit_users')); 3352 3352 break; 3353 3353 case 'plugins': 3354 3354 $default_action = array('plugin-install.php' => array(__('Install Plugins'), 'install_plugins')); … … 3372 3372 'post-new.php' => array(__('New Post'), 'edit_posts'), 3373 3373 'edit.php?post_status=draft' => array(__('Drafts'), 'edit_posts'), 3374 3374 'post-new.php?post_type=page' => array(__('New Page'), 'edit_pages'), 3375 'media-new.php' => array(__(' Upload'), 'upload_files'),3375 'media-new.php' => array(__('New Media'), 'upload_files'), 3376 3376 'edit-comments.php' => array(__('Comments'), 'moderate_comments') 3377 3377 ); 3378 3378
