Make WordPress Core


Ignore:
Timestamp:
05/04/2010 08:48:28 PM (15 years ago)
Author:
nacin
Message:

Deprecate VHOST in favor of a boolean, SUBDOMAIN_INSTALL. Core will keep VHOST defined for plugins' sake, but you should only define SUBDOMAIN_INSTALL. Throws a notice if VHOST is defined, and a warning if they somehow conflict. Sunrise can still handle them. fixes #11796.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-load.php

    r14367 r14452  
    1717 */
    1818function is_subdomain_install() {
     19    if ( defined('SUBDOMAIN_INSTALL') )
     20        return SUBDOMAIN_INSTALL;
     21
    1922    if ( defined('VHOST') && VHOST == 'yes' )
    2023        return true;
Note: See TracChangeset for help on using the changeset viewer.