Commit 7540c025 authored by chenchuanwen's avatar chenchuanwen

c

parent b68bf8e8
......@@ -1615,6 +1615,7 @@ 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