Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/29/2020 06:44:23 PM (4 years ago)
Author:
boonebgorges
Message:

Remove terms blacklist and whitelist in inline comments and local variables.

The change is in order to promote clearer and more inclusive language.

See #8339.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/screens/single/admin/group-settings.php

    r12381 r12694  
    2727        $enable_forum   = ( isset($_POST['group-show-forum'] ) ) ? 1 : 0;
    2828
    29         // Checked against a whitelist for security.
     29        // Checked against a list of allowed statuses for security.
    3030        /** This filter is documented in bp-groups/bp-groups-admin.php */
    3131        $allowed_status = apply_filters( 'groups_allowed_status', array( 'public', 'private', 'hidden' ) );
    3232        $status         = ( in_array( $_POST['group-status'], (array) $allowed_status ) ) ? $_POST['group-status'] : 'public';
    3333
    34         // Checked against a whitelist for security.
     34        // Checked against a list of allowed statuses for security.
    3535        /** This filter is documented in bp-groups/bp-groups-admin.php */
    3636        $allowed_invite_status = apply_filters( 'groups_allowed_invite_status', array( 'members', 'mods', 'admins' ) );
Note: See TracChangeset for help on using the changeset viewer.