Skip to:
Content

BuddyPress.org

Changeset 10315


Ignore:
Timestamp:
10/27/2015 12:44:17 AM (9 years ago)
Author:
mercime
Message:

Add 'for' attributes to labels for Activity status.

See #6616.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r10266 r10315  
    734734            <div id="misc-publishing-actions">
    735735                <div class="misc-pub-section" id="comment-status-radio">
    736                     <label class="approved"><input type="radio" name="activity_status" value="ham" <?php checked( $item->is_spam, 0 ); ?>><?php _e( 'Approved', 'buddypress' ); ?></label><br />
    737                     <label class="spam"><input type="radio" name="activity_status" value="spam" <?php checked( $item->is_spam, 1 ); ?>><?php _e( 'Spam', 'buddypress' ); ?></label>
     736                    <label class="approved" for="activity-status-approved"><input type="radio" name="activity_status" id="activity-status-approved" value="ham" <?php checked( $item->is_spam, 0 ); ?>><?php _e( 'Approved', 'buddypress' ); ?></label><br />
     737                    <label class="spam" for="activity-status-spam"><input type="radio" name="activity_status" id="activity-status-spam" value="spam" <?php checked( $item->is_spam, 1 ); ?>><?php _e( 'Spam', 'buddypress' ); ?></label>
    738738                </div>
    739739
Note: See TracChangeset for help on using the changeset viewer.