Changeset 32325
- Timestamp:
- 04/29/2015 07:18:35 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r32171 r32325 3756 3756 // Request is hitting a file inside ABSPATH 3757 3757 $directory = str_replace( ABSPATH, '', $script_filename_dir ); 3758 // Strip off the sub directory, and any file/query params s3758 // Strip off the sub directory, and any file/query params 3759 3759 $path = preg_replace( '#/' . preg_quote( $directory, '#' ) . '/[^/]*$#i', '' , $_SERVER['REQUEST_URI'] ); 3760 3760 } elseif ( false !== strpos( $abspath_fix, $script_filename_dir ) ) {
Note: See TracChangeset
for help on using the changeset viewer.