Skip to:
Content

BuddyPress.org

Changeset 10165


Ignore:
Timestamp:
10/03/2015 03:10:16 AM (9 years ago)
Author:
mercime
Message:

Add 'for' values to labels in BP Tools Settings screen.

See #6617.

File:
1 edited

Legend:

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

    r10108 r10165  
    4141                                <?php foreach ( bp_admin_repair_list() as $item ) : ?>
    4242
    43                                     <label><input type="checkbox" class="checkbox" name="<?php echo esc_attr( $item[0] ) . '" id="' . esc_attr( str_replace( '_', '-', $item[0] ) ); ?>" value="1" /> <?php echo esc_html( $item[1] ); ?></label><br />
     43                                    <label for="<?php echo esc_attr( str_replace( '_', '-', $item[0] ) ); ?>"><input type="checkbox" class="checkbox" name="<?php echo esc_attr( $item[0] ) . '" id="' . esc_attr( str_replace( '_', '-', $item[0] ) ); ?>" value="1" /> <?php echo esc_html( $item[1] ); ?></label><br />
    4444
    4545                                <?php endforeach; ?>
Note: See TracChangeset for help on using the changeset viewer.