Changeset 46472 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 10/14/2019 10:50:41 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r46467 r46472 1419 1419 if ( ! empty( $_SERVER['REQUEST_URI'] ) ) { 1420 1420 $path = dirname( parse_url( 'http://placeholder' . $_SERVER['REQUEST_URI'], PHP_URL_PATH ) . '?' ); 1421 $path = wp_normalize_path( $path ); 1421 1422 } 1422 1423 $location = '/' . ltrim( $path . '/', '/' ) . $location;
Note: See TracChangeset
for help on using the changeset viewer.