WordPress.org

Make WordPress Core

Ticket #31323: 31323.patch

File 31323.patch, 668 bytes (added by afercia, 7 years ago)
  • src/wp-includes/admin-bar.php

     
    794794                return;
    795795
    796796        $form  = '<form action="' . esc_url( home_url( '/' ) ) . '" method="get" id="adminbarsearch">';
     797        $form .= '<label for="adminbar-search" class="screen-reader-text">' . __( 'Search' ) . '</label>';
    797798        $form .= '<input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" />';
    798799        $form .= '<input type="submit" class="adminbar-button" value="' . __('Search') . '"/>';
    799800        $form .= '</form>';