[wp-trac] [WordPress Trac] #11796: Deprecate VHOSTS in favor of a boolean

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 23 17:45:30 UTC 2010


#11796: Deprecate VHOSTS in favor of a boolean
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:          
     Type:  enhancement        |       Status:  reopened
 Priority:  normal             |    Milestone:  3.0     
Component:  Multisite          |      Version:  3.0     
 Severity:  normal             |   Resolution:          
 Keywords:  has-patch          |  
-------------------------------+--------------------------------------------
Changes (by nacin):

  * keywords:  => has-patch


Comment:

 Patch attached to convert VHOSTS to a boolean.

 This will break any plugins (including super cache etc.) that rely on a
 straight VHOST = 'yes' or VHOST == 'no' check, but 3.0 is the best time to
 do that. An MU config file will still work, as is_subdomain_install() is
 adjusted to account for the deprecated 'yes' and 'no' value.

 I'm thinking we should possibly throw a deprecated argument warning if
 they're defining VHOST as 'yes' or 'no' in config.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11796#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list