Skip to:
Content

bbPress.org

Changeset 6410


Ignore:
Timestamp:
05/18/2017 01:05:45 PM (5 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.

Location:
branches/2.5/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/includes/common/functions.php

    r5693 r6410  
    14341434 * @since bbPress (r2996)
    14351435 *
     1436 * @deprecated bbPress (r5820)
     1437 *
    14361438 * @global DB $wpdb
    14371439 * @global WP $wp
  • 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.