Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/13/2015 09:12:41 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Queries: Remove post_parent__in query-parameter filter.

This commit removes the bbp_query_post_parent__in() filter that was introduced in r2996, and uses WordPress core's built in query parameters introduced in #WP11056.

Fixes #2832.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/filters.php

    r5770 r5820  
    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.