Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/12/2015 05:57:32 AM (9 years ago)
Author:
mercime
Message:

Add 'id' attribute to checkbox for User ID metabox.

Accessibility fix to bind available label element to Author ID
checkbox field in wp-admin Activity edit screen.

See #6616.

File:
1 edited

Legend:

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

    r10095 r10097  
    797797
    798798    <label class="screen-reader-text" for="bp-activities-userid"><?php _e( 'Author ID', 'buddypress' ); ?></label>
    799     <input type="number" name="bp-activities-userid" value="<?php echo esc_attr( $item->user_id ); ?>" min="1" />
     799    <input type="number" name="bp-activities-userid" id="bp-activities-userid" value="<?php echo esc_attr( $item->user_id ); ?>" min="1" />
    800800
    801801<?php
Note: See TracChangeset for help on using the changeset viewer.