Ticket #16406: 16406.diff
File 16406.diff, 1.5 KB (added by , 14 years ago) |
---|
-
wp-includes/admin-bar.php
246 246 } 247 247 248 248 if ( current_user_can( 'upload_files' ) ) 249 $actions[ 'media-new.php' ] = array( _ _( 'Media' ), 'upload_files', 'new-media' );249 $actions[ 'media-new.php' ] = array( _x( 'Media', 'add new from admin bar' ), 'upload_files', 'new-media' ); 250 250 251 251 if ( current_user_can( 'manage_links' ) ) 252 $actions[ 'link-add.php' ] = array( _ _( 'Link' ), 'manage_links', 'new-link' );252 $actions[ 'link-add.php' ] = array( _x( 'Link', 'add new from admin bar' ), 'manage_links', 'new-link' ); 253 253 254 254 if ( current_user_can( 'create_users' ) || current_user_can( 'promote_users' ) ) 255 $actions[ 'user-new.php' ] = array( _ _( 'User' ), 'create_users', 'new-user' );255 $actions[ 'user-new.php' ] = array( _x( 'User', 'add new from admin bar' ), 'create_users', 'new-user' ); 256 256 257 257 if ( ! is_multisite() && current_user_can( 'install_themes' ) ) 258 $actions[ 'theme-install.php' ] = array( _ _( 'Theme' ), 'install_themes', 'new-theme' );258 $actions[ 'theme-install.php' ] = array( _x( 'Theme', 'add new from admin bar' ), 'install_themes', 'new-theme' ); 259 259 260 260 if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) 261 $actions[ 'plugin-install.php' ] = array( _ _( 'Plugin' ), 'install_plugins', 'new-plugin' );261 $actions[ 'plugin-install.php' ] = array( _x( 'Plugin', 'add new from admin bar' ), 'install_plugins', 'new-plugin' ); 262 262 263 263 if ( empty( $actions ) ) 264 264 return;