diff --git wp-includes/load.php wp-includes/load.php
index 2b375b3..8993cee 100644
--- wp-includes/load.php
+++ wp-includes/load.php
@@ -969,13 +969,15 @@ function is_ssl() {
 		if ( 'on' == strtolower( $_SERVER['HTTPS'] ) ) {
 			return true;
 		}
-
 		if ( '1' == $_SERVER['HTTPS'] ) {
 			return true;
 		}
 	} elseif ( isset($_SERVER['SERVER_PORT'] ) && ( '443' == $_SERVER['SERVER_PORT'] ) ) {
 		return true;
 	}
+	elseif ( isset($_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' == $_SERVER['HTTP_X_FORWARDED_PROTO'] )
+		return true;
+	}
 	return false;
 }
 
