Changeset 56194 for trunk/src/wp-includes/rewrite.php
- Timestamp:
- 07/10/2023 11:09:16 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rewrite.php
r55988 r56194 599 599 foreach ( (array) $rewrite as $match => $query ) { 600 600 601 // If the requesting file is the anchor of the match, 602 // prepend it to the path info. 601 /* 602 * If the requesting file is the anchor of the match, 603 * prepend it to the path info. 604 */ 603 605 if ( ! empty( $url ) && ( $url != $request ) && str_starts_with( $match, $url ) ) { 604 606 $request_match = $url . '/' . $request; … … 621 623 } 622 624 623 // Got a match. 624 // Trim the query of everything up to the '?'. 625 /* 626 * Got a match. 627 * Trim the query of everything up to the '?'. 628 */ 625 629 $query = preg_replace( '!^.+\?!', '', $query ); 626 630
Note: See TracChangeset
for help on using the changeset viewer.