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-settings.php

    r14313 r14452  
    2121if ( defined( 'SUNRISE' ) )
    2222    include_once( WP_CONTENT_DIR . '/sunrise.php' );
     23
     24/** Check for and define SUBDOMAIN_INSTALL and the deprecated VHOST constant. */
     25ms_subdomain_constants();
    2326
    2427if ( !isset( $current_site ) || !isset( $current_blog ) ) {
Note: See TracChangeset for help on using the changeset viewer.