Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/18/2017 01:05:45 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Queries: Deprecate bbp_query_post_parent__in() in the 2.5 branch.

4.7 is the minimum WordPress version, so we can support post_parent__not_in directly.

See #2832.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/includes/core/filters.php

    r6015 r6410  
    5454// Force comments_status on bbPress post types
    5555add_filter( 'comments_open', 'bbp_force_comment_status' );
    56 
    57 // Add post_parent__in to posts_where
    58 add_filter( 'posts_where', 'bbp_query_post_parent__in', 10, 2 );
    5956
    6057// Remove forums roles from list of all roles
Note: See TracChangeset for help on using the changeset viewer.