Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/29/2024 05:15:20 PM (20 months ago)
Author:
johnjamesjacoby
Message:

Merge 2.6 improvements into trunk.

From 2.6.11.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/includes/common/functions.php

    r7268 r7275  
    843843 * @param string $title The title of the content
    844844 * @param string $content The content being posted
    845  * @param mixed  $strict  False for moderation_keys. True for blacklist_keys.
     845 * @param mixed  $strict  False for moderation_keys. True for disallow_keys.
    846846 *                        String for custom keys.
    847847 * @return bool True if test is passed, false if fail
     
    864864    }
    865865
    866     // Strict mode uses WordPress "blacklist" settings
     866    // Strict mode uses WordPress "disallow" settings
    867867    if ( true === $strict ) {
    868868        $hook_name   = 'blacklist';
    869         $option_name = 'blacklist_keys';
     869        $option_name = 'disallow_keys';
    870870
    871871    // Non-strict uses WordPress "moderation" settings
Note: See TracChangeset for help on using the changeset viewer.