Changeset 8266 for trunk/wp-includes/functions.php
- Timestamp:
- 07/07/2008 02:21:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r8247 r8266 2257 2257 */ 2258 2258 function is_ssl() { 2259 return ( 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false;2259 return ( isset($_SERVER['HTTPS']) && 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false; 2260 2260 } 2261 2261
Note: See TracChangeset
for help on using the changeset viewer.