Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/19/2019 09:01:23 PM (6 years ago)
Author:
johnjamesjacoby
Message:

Moderation: flip strict condition in bbp_check_for_blacklist().

This commit fixes a bug causing old calls to bbp_check_for_blacklist() to use the incorrect discussion setting values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/functions.php

    r6924 r6974  
    965965 */
    966966function bbp_check_for_blacklist( $anonymous_data = array(), $author_id = 0, $title = '', $content = '' ) {
    967     return bbp_check_for_moderation( $anonymous_data, $author_id, $title, $content, false );
     967    return bbp_check_for_moderation( $anonymous_data, $author_id, $title, $content, true );
    968968}
    969969
Note: See TracChangeset for help on using the changeset viewer.