Skip to:
Content

bbPress.org

Changeset 4761


Ignore:
Timestamp:
02/07/2013 02:38:40 AM (12 years ago)
Author:
johnjamesjacoby
Message:

When using 'postnot_in' or 'postin' query variables in single topic views, do not attempt to force the query index in _bbp_has_replies_where(). Fixes #2195.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/replies/functions.php

    r4748 r4761  
    17411741        return $where;
    17421742
     1743    // Bail if including or excluding specific post ID's
     1744    if ( $query->get( 'post__not_in' ) || $query->get( 'post__in' ) )
     1745        return $where;
     1746
    17431747    global $wpdb;
    17441748
Note: See TracChangeset for help on using the changeset viewer.