Changeset 60226
- Timestamp:
- 05/07/2025 07:45:31 PM (8 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-settings.php
r59688 r60226 60 60 if ( ! isset( $current_site ) || ! isset( $current_blog ) ) { 61 61 62 $domain = strtolower( stripslashes( $_SERVER['HTTP_HOST'] ) );62 $domain = strtolower( stripslashes( $_SERVER['HTTP_HOST'] ?? '' ) ); 63 63 if ( str_ends_with( $domain, ':80' ) ) { 64 64 $domain = substr( $domain, 0, -3 );
Note: See TracChangeset
for help on using the changeset viewer.