Changeset 13455 for trunk/src/bp-core/classes/class-bp-component.php
- Timestamp:
- 04/20/2023 02:30:11 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-component.php
r13450 r13455 578 578 579 579 // Allow components to parse the main query. 580 add_action( 'bp_parse_query', array( $this, 'parse_query' ), 10 ); 580 if ( ! bp_has_pretty_urls() ) { 581 /** 582 * Only fire this hook when pretty links are disabled. 583 * 584 * @todo Remove once BP Rewrites merge process is ended. 585 */ 586 add_action( 'bp_parse_query', array( $this, 'parse_query' ), 10 ); 587 } 581 588 582 589 // Generate rewrite rules.
Note: See TracChangeset
for help on using the changeset viewer.