Changeset 55703 for trunk/src/wp-includes/class-wp.php
- Timestamp:
- 05/02/2023 03:43:03 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp.php
r54636 r55703 228 228 foreach ( (array) $rewrite as $match => $query ) { 229 229 // If the requested file is the anchor of the match, prepend it to the path info. 230 if ( ! empty( $requested_file ) && str pos( $match, $requested_file ) === 0&& $requested_file != $requested_path ) {230 if ( ! empty( $requested_file ) && str_starts_with( $match, $requested_file ) && $requested_file != $requested_path ) { 231 231 $request_match = $requested_file . '/' . $requested_path; 232 232 }
Note: See TracChangeset
for help on using the changeset viewer.