Skip to:
Content

BuddyPress.org

Changeset 4022


Ignore:
Timestamp:
02/07/2011 12:07:03 AM (14 years ago)
Author:
djpaul
Message:

Add ID element to component setting checkboxes. Props @SergeyBiryukov

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-admin.php

    r3994 r4022  
    354354                    <td>
    355355                        <label for="bp_components[<?php echo esc_attr( $name ); ?>]">
    356                             <input type="checkbox" name="bp_components[<?php echo esc_attr( $name ); ?>]" value="1"<?php checked( isset( $active_components[esc_attr( $name )] ) ); ?> />
     356                            <input type="checkbox" id="bp_components[<?php echo esc_attr( $name ); ?>]" name="bp_components[<?php echo esc_attr( $name ); ?>]" value="1"<?php checked( isset( $active_components[esc_attr( $name )] ) ); ?> />
    357357
    358358                            <?php echo esc_html( $labels['description'] ); ?>
Note: See TracChangeset for help on using the changeset viewer.