Commit 0fecb7d5 authored by ccw's avatar ccw

c

parents 5abc6022 7540c025
......@@ -1628,7 +1628,6 @@ function wp_installing( $is_installing = null ) {
* @return bool True if SSL, otherwise false.
*/
function is_ssl() {
return true;
if ( isset( $_SERVER['HTTPS'] ) ) {
if ( 'on' === strtolower( $_SERVER['HTTPS'] ) ) {
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment