Changeset 13072 for trunk/wp-includes/canonical.php
- Timestamp:
- 02/13/2010 12:11:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r12980 r13072 256 256 } 257 257 258 // Strip multiple slashes out of the URL 259 if ( strpos($original['path'], '//') > -1 ) 260 $redirect['path'] = preg_replace('|/+|', '/', $original['path']); 261 258 262 // Always trailing slash the Front Page URL 259 263 if ( trailingslashit( $redirect['path'] ) == trailingslashit( $user_home['path'] ) )
Note: See TracChangeset
for help on using the changeset viewer.