Changeset 58138
- Timestamp:
- 05/13/2024 01:32:19 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-network.php
r56219 r58138 308 308 return; 309 309 } 310 311 $this->cookie_domain = $this->domain;310 $domain = parse_url( $this->domain, PHP_URL_HOST ); 311 $this->cookie_domain = is_string( $domain ) ? $domain : $this->domain; 312 312 if ( str_starts_with( $this->cookie_domain, 'www.' ) ) { 313 313 $this->cookie_domain = substr( $this->cookie_domain, 4 );
Note: See TracChangeset
for help on using the changeset viewer.