Ticket #16455: 16455.diff
| File 16455.diff, 961 bytes (added by MattyRob, 2 years ago) |
|---|
-
wp-includes/load.php
639 639 if ( defined( 'MULTISITE' ) ) 640 640 return MULTISITE; 641 641 642 if ( defined( 'SUBDOMAIN_INSTALL' ) || defined( 'VHOST' ) || defined( 'SUNRISE') )642 if ( is_subdomain_install() ) 643 643 return true; 644 644 645 if ( defined( 'SUNRISE' ) ) 646 return true; 647 645 648 return false; 646 649 } 647 650 -
wp-includes/ms-load.php
16 16 * @return bool True if subdomain configuration is enabled, false otherwise. 17 17 */ 18 18 function is_subdomain_install() { 19 if ( defined('SUBDOMAIN_INSTALL') )19 if ( defined('SUBDOMAIN_INSTALL') && SUBDOMAIN_INSTALL == true) 20 20 return SUBDOMAIN_INSTALL; 21 21 22 22 if ( defined('VHOST') && VHOST == 'yes' )
