Make WordPress Core


Ignore:
Timestamp:
11/04/2011 07:46:43 PM (14 years ago)
Author:
azaozz
Message:

Admin-bar.css refresh, add back IE compat. "return false" so clicking on the search box doesn't scropp the page to the top, props ocean90, fixes #19153, fixes #19151

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r19159 r19160  
    622622    $form .= '<form action="' . home_url() . '" method="get" id="adminbarsearch">';
    623623    $form .= '<input class="adminbar-input" name="s" id="adminbar-search"';
    624     $form .= 'type="text" value="" maxlength="150" placeholder="' . esc_attr__( 'Search' ) . '" />';
     624    $form .= 'type="text" value="" maxlength="150" placeholder="' . esc_attr__( 'Search' ) . '" onclick="return false;" />';
    625625    $form .= '<input type="submit" class="adminbar-button" value="' . __('Search') . '"/>';
    626626    $form .= '</form>';
Note: See TracChangeset for help on using the changeset viewer.