mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 10:33:05 +01:00
Do the ToDo in wp_admin_bar_search_menu(), props ocean90, fixes #19152
git-svn-id: https://develop.svn.wordpress.org/trunk@19159 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
242b3f48e4
commit
dab902ceab
@ -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