Changeset 54146
- Timestamp:
- 09/13/2022 07:48:45 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r54097 r54146 6034 6034 // The request is for the admin. 6035 6035 if ( strpos( $_SERVER['REQUEST_URI'], 'wp-admin' ) !== false || strpos( $_SERVER['REQUEST_URI'], 'wp-login.php' ) !== false ) { 6036 $path = preg_replace( '#/(wp-admin/ .*|wp-login.php)#i', '', $_SERVER['REQUEST_URI'] );6036 $path = preg_replace( '#/(wp-admin/?.*|wp-login\.php.*)#i', '', $_SERVER['REQUEST_URI'] ); 6037 6037 6038 6038 // The request is for a file in ABSPATH.
Note: See TracChangeset
for help on using the changeset viewer.