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

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 26 08:50:41 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:  needs-patch        |  
-------------------------------+--------------------------------------------
Changes (by dd32):

  * keywords:  has-patch => needs-patch


Comment:

 > I think we should deprecate the VHOST constant all together

 That'd be my preference as well.

 Simply for the fact its using yes/no, which should be avoided for cleaner
 typed bools and/or the API.

 Breaking backwards compatibility for a simple constant change doesnt seem
 worth it to me, but a better constant name & value is still needed

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


More information about the wp-trac mailing list