Changeset 24594 for trunk/wp-includes/vars.php
- Timestamp:
- 07/08/2013 08:27:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/vars.php
r21367 r24594 94 94 95 95 /** 96 * Whether the server software is IIS 7.X 96 * Whether the server software is IIS 7.X or greater 97 97 * @global bool $is_iis7 98 98 */ 99 $is_iis7 = $is_IIS && (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/7.') !== false);99 $is_iis7 = $is_IIS && intval( substr( $_SERVER['SERVER_SOFTWARE'], strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/' ) + 14 ) ) >= 7; 100 100 101 101 /**
Note: See TracChangeset
for help on using the changeset viewer.