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:
azaozz 2011-11-04 18:11:33 +00:00
parent e4ae15aefe
commit 339fe6065d

View File

@ -631,10 +631,8 @@ function wp_admin_bar_search_menu( $wp_admin_bar ) {
'title' => $form,
'href' => '#',
'meta' => array(
'class' => 'admin-bar-search',
// @TODO: Replace me with something far less hacky
'onclick' => 'if ( event.target.value != "Search" ) { return false; }',
),
'class' => 'admin-bar-search'
)
) );
}