mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1765,4 +1765,7 @@ function validate_file( $file, $allowed_files = '' ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
function is_ssl() {
|
||||
return ( 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false;
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user