Changeset 56031 for trunk/src/wp-includes/functions.php
- Timestamp:
- 06/26/2023 10:15:04 AM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r55990 r56031 6105 6105 6106 6106 // The request is for the admin. 6107 if ( str pos( $_SERVER['REQUEST_URI'], 'wp-admin' ) !== false|| str_contains( $_SERVER['REQUEST_URI'], 'wp-login.php' ) ) {6107 if ( str_contains( $_SERVER['REQUEST_URI'], 'wp-admin' ) || str_contains( $_SERVER['REQUEST_URI'], 'wp-login.php' ) ) { 6108 6108 $path = preg_replace( '#/(wp-admin/?.*|wp-login\.php.*)#i', '', $_SERVER['REQUEST_URI'] ); 6109 6109
Note: See TracChangeset
for help on using the changeset viewer.