Changeset 13492 for trunk/src/bp-core/classes/class-bp-core.php
- Timestamp:
- 05/29/2023 05:51:12 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-core.php
r13471 r13492 424 424 */ 425 425 public function parse_query( $query ) { 426 /* 427 * If BP Rewrites are not in use, no need to parse BP URI globals another time. 428 * Legacy Parser should have already set these. 429 */ 430 if ( 'rewrites' !== bp_core_get_query_parser() ) { 431 return parent::parse_query( $query ); 432 } 433 426 434 $is_search = $query->get( 'pagename' ) === bp_get_search_slug() || ( isset( $_GET['bp_search'] ) && 1 === (int) $_GET['bp_search'] ); 427 435
Note: See TracChangeset
for help on using the changeset viewer.