Ticket #9192: class-bp-component.php.patch
File class-bp-component.php.patch, 521 bytes (added by , 5 months ago) |
---|
-
class-bp-component.php
1119 1119 * } 1120 1120 */ 1121 1121 public function add_rewrite_rules( $rewrite_rules = array() ) { 1122 1123 if ( 'rewrites' !== bp_core_get_query_parser() ) { 1124 return; 1125 } 1126 1122 1127 if ( array_filter( $this->rewrite_ids ) ) { 1123 1128 $priority = 'top'; 1124 1129 $chunks = array_merge( bp_rewrites_get_default_url_chunks(), $rewrite_rules );