Ticket #33620: 33620.diff
File 33620.diff, 566 bytes (added by , 9 years ago) |
---|
-
wp-includes/ms-functions.php
1409 1409 1410 1410 $url = untrailingslashit( $url ); 1411 1411 1412 if ( defined( 'SUBDOMAIN_INSTALL' ) && SUBDOMAIN_INSTALL === false){ 1413 $siteurl = parse_url( get_site_option( 'siteurl' ) ); 1414 1415 if ( $siteurl['scheme'] == 'https' ) { 1416 $url = set_url_scheme( $url, 'https' ); 1417 } 1418 1419 } 1420 1412 1421 update_option( 'siteurl', $url ); 1413 1422 update_option( 'home', $url ); 1414 1423