[wp-trac] [WordPress Trac] #23533: WordPress 3.5.1 doesn't recognize IIS 8.0 (Windows Server 2012) properly

WordPress Trac noreply at wordpress.org
Tue Feb 19 16:24:47 UTC 2013


#23533: WordPress 3.5.1 doesn't recognize IIS 8.0 (Windows Server 2012) properly
-----------------------------+--------------------------
 Reporter:  JanR             |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  IIS
  Version:  3.5.1            |   Severity:  major
 Keywords:  has-patch        |
-----------------------------+--------------------------
 WordPress 3.5.1 doesn't recognize IIS 8.0 due to an invalid check in wp-
 includes/vars.php.

 line 99:

 {{{
 $is_iis7 = $is_IIS && (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-
 IIS/7.') !== false);
 }}}


 Now WordPress, hosted on IIS 8.0, can't write a web.config for rewrites.

 The check should be extended to include IIS 8.0, and preferably future
 verions. One more extended check to include IIS 8.0 only, and to patch
 this bug is:


 {{{
 $is_iis7 = $is_IIS && (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-
 IIS/7.') || strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/8.') !==
 false);
 }}}

 Kind regards,
 Jan

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23533>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list