Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/22/2016 01:01:24 AM (8 years ago)
Author:
r-a-y
Message:

Correct misuse of escaping functions, part 2.

dcavins and I are eating the same pizza. See r11141.

Anti-props r-a-y.

See #7210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php

    r11146 r11152  
    147147                        <?php foreach ( $group_types as $type ) : ?>
    148148                            <div class="checkbox">
    149                                 <label for="<?php printf( 'group-type-%s', $type->name ); ?>"><input type="checkbox" name="group-types[]" id="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php esc_attr_e( $type->name ); ?>" /> <?php esc_html_e( $type->labels['name'] ); ?>
     149                                <label for="<?php printf( 'group-type-%s', $type->name ); ?>"><input type="checkbox" name="group-types[]" id="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" /> <?php echo esc_html( $type->labels['name'] ); ?>
    150150                                    <?php
    151151                                        if ( isset( $type->description ) ) {
Note: See TracChangeset for help on using the changeset viewer.