Changeset 18233
- Timestamp:
- 06/10/2011 04:43:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r18220 r18233 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 ) )
Note: See TracChangeset
for help on using the changeset viewer.