WordPress.org

Make WordPress Core

Ticket #19370: 19370.icon-only.diff

File 19370.icon-only.diff, 1.2 KB (added by koopersmith, 6 years ago)
  • wp-includes/admin-bar.php

     
    586586 */
    587587function wp_admin_bar_search_menu( $wp_admin_bar ) {
    588588        $form  = '<form action="' . esc_url( home_url( '/' ) ) . '" method="get" id="adminbarsearch">';
    589         $form .= '<input class="adminbar-input" name="s" id="adminbar-search" tabindex="10" ';
    590         $form .= 'type="text" value="" maxlength="150" placeholder="' . esc_attr__( 'Search' ) . '" />';
     589        $form .= '<input class="adminbar-input" name="s" id="adminbar-search" tabindex="10" type="text" value="" maxlength="150" />';
    591590        $form .= '<input type="submit" class="adminbar-button" value="' . __('Search') . '"/>';
    592591        $form .= '</form>';
    593592
  • wp-includes/css/admin-bar.dev.css

     
    405405#wpadminbar #adminbarsearch .adminbar-input {
    406406        font: 13px/24px sans-serif;
    407407        height: 24px;
    408         width: 140px;
     408        width: 24px;
    409409        border: none;
    410410        padding: 0 3px 0 23px;
    411411        margin: 0;