Admin bar validation fix. Props usermrpapa. fixes #19180
git-svn-id: https://develop.svn.wordpress.org/trunk@19214 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aee3c7de59
commit
dd11766207
|
@ -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