Make WordPress Core


Ignore:
Timestamp:
07/07/2008 02:21:47 PM (17 years ago)
Author:
ryan
Message:

Notice fixes from jacobsantos. fixes #7255

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r8247 r8266  
    22572257 */
    22582258function is_ssl() {
    2259     return ( 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false;
     2259    return ( isset($_SERVER['HTTPS']) && 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false;
    22602260}
    22612261
Note: See TracChangeset for help on using the changeset viewer.