diff --git src/bp-core/bp-core-moderation.php src/bp-core/bp-core-moderation.php
index 16e3a4ebd..a5fec7f10 100644
|
|
function bp_core_check_for_disallowed_keys( $user_id = 0, $title = '', $content |
240 | 240 | // Get the moderation keys. |
241 | 241 | $disallowed = get_option( 'disallowed_keys' ); |
242 | 242 | |
243 | | // Support for WP < 5.5. |
244 | | if ( false === $disallowed ) { |
245 | | $disallowed = get_option( 'blacklist_keys' ); |
246 | | } |
247 | | |
248 | 243 | $disallowed = trim( $disallowed ); |
249 | 244 | |
250 | 245 | // Bail if disallowed list is empty. |