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:
ryan 2011-11-08 15:55:58 +00:00
parent 91bf9d9bae
commit a893bf5cfc
1 changed files with 1 additions and 1 deletions

View File

@ -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>';