Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/15/2016 03:18:58 AM (8 years ago)
Author:
boonebgorges
Message:

Return an integer from bp_get_new_group_id().

Sanitization techniques introduced in [7790] inadvertently caused
the value returned from this function to be a string, inconsistent
with the documentation and with previous behavior.

Fixes #7388.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-filters.php

    r11091 r11299  
    6161
    6262// Escape output of new group creation details.
    63 add_filter( 'bp_get_new_group_id',          'esc_attr'     );
    6463add_filter( 'bp_get_new_group_name',        'esc_attr'     );
    6564add_filter( 'bp_get_new_group_description', 'esc_textarea' );
Note: See TracChangeset for help on using the changeset viewer.