diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-07-07 17:16:43 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2008-07-07 17:16:43 +0000 |
| commit | 6081c995737157ea06244568c48570148b08258f (patch) | |
| tree | c74a90925305ffff924a8261efd1d92265e3146c /wp-includes/functions.php | |
| parent | 62cf455ec3bed02f518048f8ddca91a23e6b95a4 (diff) | |
| download | wordpress-mu-6081c995737157ea06244568c48570148b08258f.tar.gz wordpress-mu-6081c995737157ea06244568c48570148b08258f.tar.xz wordpress-mu-6081c995737157ea06244568c48570148b08258f.zip | |
WP Merge to revision 8266
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1355 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/functions.php')
| -rw-r--r-- | wp-includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 0fe154d..bcec475 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2255,7 +2255,7 @@ function validate_file( $file, $allowed_files = '' ) { * @return bool True if SSL, false if not used. */ function is_ssl() { - return ( 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false; + return ( isset($_SERVER['HTTPS']) && 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false; } /** |
