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/wp-db.php

    r14058 r14452  
    576576                $this->$table = $prefixed_table;
    577577
    578             if ( defined( 'VHOST' ) && empty( $this->blogid ) )
     578            if ( is_multisite() && empty( $this->blogid ) )
    579579                return $old_prefix;
    580580
Note: See TracChangeset for help on using the changeset viewer.