Making WordPress.org


Ignore:
Timestamp:
06/14/2016 08:36:02 AM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Second pass at upload form styles.

This time, let's be less intrusive on other styles.

See #1573, [3345].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/searchform.php

    r3251 r3346  
    33?>
    44<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
    5     <label>
    6         <span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'wporg-plugins' ); ?></span>
    7         <input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search plugins&hellip;', 'placeholder', 'wporg-plugins' ); ?>" value="<?php the_search_query(); ?>" name="s" />
    8         <button class="button button-primary button-search"><i class="dashicons dashicons-search"></i></button>
    9     </label>
     5    <label for="s" class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'wporg-plugins' ); ?></label>
     6    <input type="search" id="s" class="search-field" placeholder="<?php echo esc_attr_x( 'Search plugins&hellip;', 'placeholder', 'wporg-plugins' ); ?>" value="<?php the_search_query(); ?>" name="s" />
     7    <button class="button button-primary button-search"><i class="dashicons dashicons-search"></i></button>
    108</form>
Note: See TracChangeset for help on using the changeset viewer.