Skip to:
Content

BuddyPress.org

Ticket #5105: 5105.diff

File 5105.diff, 1.0 KB (added by imath, 12 years ago)
  • bp-groups/bp-groups-admin.php

     
    402402 */
    403403function bp_groups_admin() {
    404404        // Decide whether to load the index or edit screen
    405         $doaction = ! empty( $_REQUEST['action'] ) ? $_REQUEST['action'] : '';
     405        $doaction = bp_admin_list_table_current_bulk_action();
    406406
    407407        // Display the single group edit screen
    408408        if ( 'edit' == $doaction && ! empty( $_GET['gid'] ) ) {
     
    12881288         * @since BuddyPress (1.7)
    12891289         */
    12901290        function column_cb( $item = array() ) {
    1291                 printf( '<label class="screen-reader-text" for="aid-%1$d">' . __( 'Select group %1$d', 'buddypress' ) . '</label><input type="checkbox" name="aid[]" value="%1$d" id="aid-%1$d" />', $item['id'] );
     1291                printf( '<label class="screen-reader-text" for="gid-%1$d">' . __( 'Select group %1$d', 'buddypress' ) . '</label><input type="checkbox" name="gid[]" value="%1$d" id="gid-%1$d" />', $item['id'] );
    12921292        }
    12931293
    12941294        /**