Changeset 56208
- Timestamp:
- 07/11/2023 11:13:30 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rewrite.php
r56194 r56208 211 211 $args = array( 'with_front' => $args ); 212 212 } 213 if ( func_num_args() == 4 ) { 213 214 if ( func_num_args() === 4 ) { 214 215 $args['ep_mask'] = func_get_arg( 3 ); 215 216 } … … 603 604 * prepend it to the path info. 604 605 */ 605 if ( ! empty( $url ) && ( $url != $request ) && str_starts_with( $match, $url ) ) {606 if ( ! empty( $url ) && ( $url !== $request ) && str_starts_with( $match, $url ) ) { 606 607 $request_match = $url . '/' . $request; 607 608 }
Note: See TracChangeset
for help on using the changeset viewer.