Make WordPress Core


Ignore:
Timestamp:
05/23/2011 11:33:30 PM (11 years ago)
Author:
ryan
Message:

Validation fixes. Props ocean90, peaceablewhale. see #17364

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r17927 r18010  
    150150    <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Installed Themes'); ?>:</label>
    151151    <input type="text" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    152     <?php submit_button( __( 'Search Installed Themes' ), 'button', 'submit', false ); ?>
     152    <?php submit_button( __( 'Search Installed Themes' ), 'button', false, false, array( 'id' => 'search-submit' ) ); ?>
    153153    <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a>
    154154</p>
     
    185185
    186186    <div class="feature-container">
    187         <?php submit_button( __( 'Apply Filters' ), 'button-secondary submitter', 'submit', false, array( 'style' => 'margin-left: 120px' ) ); ?>
     187        <?php submit_button( __( 'Apply Filters' ), 'button-secondary submitter', false, false, array( 'style' => 'margin-left: 120px', 'id' => 'filter-submit' ) ); ?>
    188188        &nbsp;
    189189        <small><a id="mini-filter-click" href="<?php echo esc_url( remove_query_arg( array('filter', 'features', 'submit') ) ); ?>"><?php _e( 'Close filters' )?></a></small>
Note: See TracChangeset for help on using the changeset viewer.