Revert [28894] as it's currently unused in core.
see #28487. Built from https://develop.svn.wordpress.org/trunk@29309 git-svn-id: http://core.svn.wordpress.org/trunk@29091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7a67693b37
commit
241addd9ab
|
@ -3501,19 +3501,6 @@ function is_ssl() {
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the scheme of the given URL is https.
|
||||
*
|
||||
* @since 4.0.0
|
||||
*
|
||||
* @param string $url The URL.
|
||||
* @return bool True if the given URL uses https, false if not (or if the URL
|
||||
* is not valid).
|
||||
*/
|
||||
function is_https_url( $url ) {
|
||||
return ( 'https' === parse_url( $url, PHP_URL_SCHEME ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether SSL login should be forced.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue