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

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 8 21:28:00 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:                     |  
Changes (by nacin):

  * status:  closed => reopened
  * resolution:  fixed =>


 As Denis suggested, I think it would makea lot of sense to standardize
 this on {{{define('VHOST', true)}}} and {{{define('VHOST', false)}}},
 instead of keeping "yes" and "no".

 {{{is_subdomain_install()}}} should be switched to this:
 {{{if ( defined('VHOST') && VHOST && VHOST != 'no' )}}}

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

More information about the wp-trac mailing list