Skip to:
Content

BuddyPress.org

Ticket #6532: 6532-activity-select.patch

File 6532-activity-select.patch, 738 bytes (added by mercime, 4 years ago)
  • src/bp-activity/bp-activity-admin.php

     
    13791379                $activity_actions = bp_activity_get_actions(); ?>
    13801380
    13811381                <div class="alignleft actions">
    1382                         <select name="activity_type">
     1382                        <label for="activity_type" class="screen-reader-text"><?php _e( 'Filter by component', 'buddypress' ); ?></label>
     1383                        <select name="activity_type" id="activity_type">
    13831384                                <option value="" <?php selected( ! $selected ); ?>><?php _e( 'View all actions', 'buddypress' ); ?></option>
    13841385
    13851386                                <?php foreach ( $activity_actions as $component => $actions ) : ?>