Changeset 51630
- Timestamp:
- 08/17/2021 10:07:55 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-default-constants.php
r48109 r51630 69 69 */ 70 70 if ( ! defined( 'ADMIN_COOKIE_PATH' ) ) { 71 if ( ! is_subdomain_install() || trim( parse_url( get_option( 'siteurl' ), PHP_URL_PATH ), '/' ) ) { 71 $site_path = parse_url( get_option( 'siteurl' ), PHP_URL_PATH ); 72 if ( ! is_subdomain_install() || is_string( $site_path ) && trim( $site_path, '/' ) ) { 72 73 define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH ); 73 74 } else {
Note: See TracChangeset
for help on using the changeset viewer.