Plugin Directory

Changeset 3109766

Timestamp:
06/29/2024 05:34:52 PM (6 weeks ago)
Author:
johnjamesjacoby
Message:

bbPress: backport query fix from 2.6.11 into 2.6.10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bbpress/tags/2.6.10/includes/forums/functions.php

    r3109420 r3109766  
    23172317    $post_types = array_filter( (array) $posts_query->get( 'post_type' ) );
    23182318
     2319
     2320
     2321
     2322
     2323
    23192324    // Forums
    23202325    if ( in_array( bbp_get_forum_post_type(), $post_types, true ) ) {
     
    23422347    }
    23432348
    2344     // Some other post type besides Forums, Topics, or Replies
     2349    //
    23452350    if ( ! array_diff( $post_types, bbp_get_post_types() ) ) {
    23462351
Note: See TracChangeset for help on using the changeset viewer.