Changeset 3644
- Timestamp:
- 12/08/2011 04:39:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-core-compatibility.php
r3634 r3644 1602 1602 */ 1603 1603 function bbp_pre_get_posts( $posts_query ) { 1604 global $bbp , $wp_the_query;1604 global $bbp; 1605 1605 1606 1606 // Bail if $posts_query is not the main loop 1607 if ( $posts_query != $wp_the_query)1607 if ( ! $posts_query->is_main_query() ) 1608 1608 return; 1609 1609
Note: See TracChangeset
for help on using the changeset viewer.