Changeset 3109759
- Timestamp:
- 06/29/2024 05:24:39 PM (6 weeks ago)
- Location:
- bbpress/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bbpress/trunk/includes/common/functions.php
r3109477 r3109759 843 843 * @param string $title The title of the content 844 844 * @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 _keys. 846 846 * String for custom keys. 847 847 * @return bool True if test is passed, false if fail … … 864 864 } 865 865 866 // Strict mode uses WordPress " blacklist" settings866 // Strict mode uses WordPress "" settings 867 867 if ( true === $strict ) { 868 868 $hook_name = 'blacklist'; 869 $option_name = ' blacklist_keys';869 $option_name = '_keys'; 870 870 871 871 // Non-strict uses WordPress "moderation" settings -
bbpress/trunk/includes/forums/functions.php
r3109477 r3109759 2310 2310 $post_types = array_filter( (array) $posts_query->get( 'post_type' ) ); 2311 2311 2312 2313 2314 2315 2316 2312 2317 // Forums 2313 2318 if ( in_array( bbp_get_forum_post_type(), $post_types, true ) ) { … … 2335 2340 } 2336 2341 2337 // Some other post type besides Forums, Topics, or Replies2342 // 2338 2343 if ( ! array_diff( $post_types, bbp_get_post_types() ) ) { 2339 2344 -
bbpress/trunk/readme.txt
r3109755 r3109759 3 3 Author: The bbPress Contributors 4 4 Author URI: https://bbpress.org 5 Plugin URI: https://bbpress.org6 5 License URI: https://www.gnu.org/licenses/gpl-2.0.html 7 6 License: GNU General Public License v2 or later
Note: See TracChangeset
for help on using the changeset viewer.