Changeset 7275 for trunk/src/includes/forums/functions.php
- Timestamp:
- 06/29/2024 05:15:20 PM (21 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/includes/forums/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/2.6 merged: 7272-7273
- Property svn:mergeinfo changed
-
trunk/src/includes/forums/functions.php
r7268 r7275 2310 2310 $post_types = array_filter( (array) $posts_query->get( 'post_type' ) ); 2311 2311 2312 // Bail if no post types to normalize 2313 if ( empty( $post_types ) ) { 2314 return; 2315 } 2316 2312 2317 // Forums 2313 2318 if ( in_array( bbp_get_forum_post_type(), $post_types, true ) ) { … … 2335 2340 } 2336 2341 2337 // Some other post type besides Forums, Topics, or Replies2342 // Any bbPress post type 2338 2343 if ( ! array_diff( $post_types, bbp_get_post_types() ) ) { 2339 2344
Note: See TracChangeset
for help on using the changeset viewer.