Changeset 56245 for trunk/src/wp-includes/canonical.php
- Timestamp:
- 07/17/2023 01:16:14 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/canonical.php
r56177 r56245 680 680 681 681 // Strip multiple slashes out of the URL. 682 if ( str pos( $redirect['path'], '//' ) > -1) {682 if ( str_contains( $redirect['path'], '//' ) ) { 683 683 $redirect['path'] = preg_replace( '|/+|', '/', $redirect['path'] ); 684 684 }
Note: See TracChangeset
for help on using the changeset viewer.