Making WordPress.org


Ignore:
Timestamp:
02/10/2015 09:23:38 PM (10 years ago)
Author:
obenland
Message:

WP.org Themes: Disable "Apply Filters"-button by default.

Avoids submitting an empty tag request and improves general usability.

See #745.

File:
1 edited

Legend:

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

    r1242 r1247  
    3737            <div class="filter-drawer">
    3838                <div class="buttons">
    39                     <a class="apply-filters button button-secondary" href="#"><?php _e( 'Apply Filters' ); ?><span></span></a>
    40                     <a class="clear-filters button button-secondary" href="#"><?php _e( 'Clear' ); ?></a>
     39                    <button type="button" disabled="disabled" class="apply-filters button button-secondary"><?php _e( 'Apply Filters' ); ?><span></span></button>
     40                    <button type="button" class="clear-filters button button-secondary"><?php _e( 'Clear' ); ?></button>
    4141                </div>
    4242
Note: See TracChangeset for help on using the changeset viewer.