[wp-trac] [WordPress Trac] #10186: Add global $server_version

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 11 08:49:25 UTC 2009


#10186: Add global $server_version
------------------------------+---------------------------------------------
 Reporter:  peaceablewhale    |        Owner:         
     Type:  enhancement       |       Status:  closed 
 Priority:  normal            |    Milestone:         
Component:  General           |      Version:  2.8    
 Severity:  normal            |   Resolution:  wontfix
 Keywords:  has-patch tested  |  
------------------------------+---------------------------------------------
Changes (by westi):

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


Comment:

 We should not create globals with server version in.

 It encourages checks to be made that should be better made on
 capabilities.

 If we need a capabilite check like iis_supports_rewrites that could have
 to check a version but the version extraction should be encapsulated where
 it is used not stored in a global to encourage miss-use.

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


More information about the wp-trac mailing list