mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Do the ToDo in wp_admin_bar_search_menu(), props ocean90, fixes #19152
git-svn-id: http://svn.automattic.com/wordpress/trunk@19159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e4ae15aefe
commit
339fe6065d
@ -631,10 +631,8 @@ function wp_admin_bar_search_menu( $wp_admin_bar ) {
|
|||||||
'title' => $form,
|
'title' => $form,
|
||||||
'href' => '#',
|
'href' => '#',
|
||||||
'meta' => array(
|
'meta' => array(
|
||||||
'class' => 'admin-bar-search',
|
'class' => 'admin-bar-search'
|
||||||
// @TODO: Replace me with something far less hacky
|
)
|
||||||
'onclick' => 'if ( event.target.value != "Search" ) { return false; }',
|
|
||||||
),
|
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user