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-settings/bp-settings-functions.php

    r12612 r12694  
    8282
    8383/**
    84  * Build a dynamic whitelist of notification keys, based on what's hooked to 'bp_notification_settings'.
     84 * Build a dynamic list of allowed notification keys, based on what's hooked to 'bp_notification_settings'.
    8585 *
    8686 * @since 2.3.5
     
    9292    ob_start();
    9393    /**
    94      * Fires at the start of the notification keys whitelisting.
     94     * Fires at the start of the building of the notification keys allowed list.
    9595     *
    9696     * @since 1.0.0
     
    102102
    103103    if ( $matched && isset( $matches[1] ) ) {
    104         $key_whitelist = $matches[1];
     104        $allowed_key_list = $matches[1];
    105105    } else {
    106         $key_whitelist = array();
    107     }
    108 
    109     return $key_whitelist;
     106        $allowed_key_list = array();
     107    }
     108
     109    return $allowed_key_list;
    110110}
    111111
Note: See TracChangeset for help on using the changeset viewer.