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

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 17 08:55:44 GMT 2009


#10186: Add global $iis_version
----------------------------+-----------------------------------------------
 Reporter:  peaceablewhale  |       Owner:                  
     Type:  enhancement     |      Status:  new             
 Priority:  normal          |   Milestone:  2.9             
Component:  General         |     Version:  2.8             
 Severity:  normal          |    Keywords:  has-patch tested
----------------------------+-----------------------------------------------

Comment(by dd32):

 The other option, is to change the $is_* variables to the version (if
 known).

 ie.
 {{{
 if ( test for iis )
   $is_iis = (is version known?) ? version : true;
 }}
 same for apache and all the others too..

 {{{
 if ( $is_apache )
 }}}
 would still work, just as long  as its non-null/non-false/non-zero

 semi-crazy idea..

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


More information about the wp-trac mailing list