summaryrefslogtreecommitdiffstats
path: root/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-07 17:16:43 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-07 17:16:43 +0000
commit6081c995737157ea06244568c48570148b08258f (patch)
treec74a90925305ffff924a8261efd1d92265e3146c /wp-includes/functions.php
parent62cf455ec3bed02f518048f8ddca91a23e6b95a4 (diff)
downloadwordpress-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.php2
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;
}
/**