Changeset 12694 for trunk/src/bp-settings/bp-settings-functions.php
- Timestamp:
- 07/29/2020 06:44:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/bp-settings-functions.php
r12612 r12694 82 82 83 83 /** 84 * Build a dynamic whitelist ofnotification 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'. 85 85 * 86 86 * @since 2.3.5 … … 92 92 ob_start(); 93 93 /** 94 * Fires at the start of the notification keys whitelisting.94 * Fires at the start of the building of the notification keys allowed list. 95 95 * 96 96 * @since 1.0.0 … … 102 102 103 103 if ( $matched && isset( $matches[1] ) ) { 104 $ key_whitelist = $matches[1];104 $allowed_key_list = $matches[1]; 105 105 } else { 106 $ key_whitelist = array();107 } 108 109 return $ key_whitelist;106 $allowed_key_list = array(); 107 } 108 109 return $allowed_key_list; 110 110 } 111 111
Note: See TracChangeset
for help on using the changeset viewer.