Ticket #9139: 9139.01.patch
File 9139.01.patch, 548 bytes (added by , 11 months ago) |
---|
-
src/bp-core/bp-core-template-loader.php
550 550 * @param WP_Query $posts_query WP_Query object. 551 551 */ 552 552 function bp_parse_query( $posts_query ) { 553 // Only run on the root site or if multiblog mode is on. 554 if ( ! bp_is_root_blog() && ! bp_is_multiblog_mode() ) { 555 return; 556 } 553 557 554 558 // Bail if $posts_query is not the main loop. 555 559 if ( ! $posts_query->is_main_query() ) {