Make WordPress Core

Ticket #31288: functions.php.patch

File functions.php.patch, 382 bytes (added by bretterer, 10 years ago)
  • functions.php

     
    36773677                        return true;
    36783678        } elseif ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) {
    36793679                return true;
    3680         } elseif ( isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && ( 'https' == strotolower($_SERVER['HTTP_X_FORWARDED_PROTO']) ) ) {
    3681         return true;
    3682     }
     3680        }
    36833681        return false;
    36843682}
    36853683