mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 18:08:09 +01:00
Add context to Add New admin bar menu label -- we have many other Add New
git-svn-id: http://svn.automattic.com/wordpress/trunk@16595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2f5360bfcf
commit
9c6ba6387e
@ -202,7 +202,7 @@ function wp_admin_bar_new_content_menu() {
|
||||
if ( empty( $actions ) )
|
||||
return;
|
||||
|
||||
$wp_admin_bar->add_menu( array( 'id' => 'new-content', 'title' => __( 'Add New' ), 'href' => '', ) );
|
||||
$wp_admin_bar->add_menu( array( 'id' => 'new-content', 'title' => _x( 'Add New', 'admin bar menu group label' ), 'href' => '', ) );
|
||||
|
||||
foreach ( $actions as $link => $action ) {
|
||||
$wp_admin_bar->add_menu( array( 'parent' => 'new-content', 'id' => $action[2], 'title' => $action[0], 'href' => admin_url($link) ) );
|
||||
|
Loading…
Reference in New Issue
Block a user