Changeset 34734
- Timestamp:
- 10/01/2015 05:08:31 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/canonical.php
r34643 r34734 68 68 69 69 $original = @parse_url($requested_url); 70 if ( false === $original ) 70 if ( false === $original ) { 71 71 return; 72 73 // Some PHP setups turn requests for / into /index.php in REQUEST_URI 74 // See: https://core.trac.wordpress.org/ticket/5017 75 // See: https://core.trac.wordpress.org/ticket/7173 76 // Disabled, for now: 77 // $original['path'] = preg_replace('|/index\.php$|', '/', $original['path']); 72 } 78 73 79 74 $redirect = $original;
Note: See TracChangeset
for help on using the changeset viewer.