Admin bar validation fix. Props usermrpapa. fixes #19180
git-svn-id: http://svn.automattic.com/wordpress/trunk@19214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
91bf9d9bae
commit
a893bf5cfc
|
@ -621,7 +621,7 @@ function wp_admin_bar_updates_menu( $wp_admin_bar ) {
|
||||||
function wp_admin_bar_search_menu( $wp_admin_bar ) {
|
function wp_admin_bar_search_menu( $wp_admin_bar ) {
|
||||||
$form = '<div id="adminbarsearch-wrap">';
|
$form = '<div id="adminbarsearch-wrap">';
|
||||||
$form .= '<form action="' . home_url() . '" method="get" id="adminbarsearch">';
|
$form .= '<form action="' . home_url() . '" method="get" id="adminbarsearch">';
|
||||||
$form .= '<input class="adminbar-input" name="s" id="adminbar-search" tabindex="1"';
|
$form .= '<input class="adminbar-input" name="s" id="adminbar-search" tabindex="1" ';
|
||||||
$form .= 'type="text" value="" maxlength="150" placeholder="' . esc_attr__( 'Search' ) . '" onclick="return false;" />';
|
$form .= 'type="text" value="" maxlength="150" placeholder="' . esc_attr__( 'Search' ) . '" onclick="return false;" />';
|
||||||
$form .= '<input type="submit" class="adminbar-button" value="' . __('Search') . '"/>';
|
$form .= '<input type="submit" class="adminbar-button" value="' . __('Search') . '"/>';
|
||||||
$form .= '</form>';
|
$form .= '</form>';
|
||||||
|
|
Loading…
Reference in New Issue