Deprecate force_ssl_login(), which is simply a wrapper for force_ssl_admin() and is not used in core.

Fixes #34011

Built from https://develop.svn.wordpress.org/trunk@34700


git-svn-id: http://core.svn.wordpress.org/trunk@34664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2015-09-29 21:28:50 +00:00
parent 25f5bf2389
commit a8728b987f
3 changed files with 15 additions and 15 deletions

View File

@ -3620,3 +3620,17 @@ function wp_get_http( $url, $file_path = false, $red = 1 ) {
return $headers;
}
/**
* Whether SSL login should be forced.
*
* @since 2.6.0
* @deprecated 4.4.0 Use force_ssl_admin()
*
* @param string|bool $force Optional Whether to force SSL login. Default null.
* @return bool True if forced, false if not forced.
*/
function force_ssl_login( $force = null ) {
_deprecated_function( __FUNCTION__, '4.4', 'force_ssl_admin()' );
return force_ssl_admin( $force );
}

View File

@ -3765,20 +3765,6 @@ function is_ssl() {
return false;
}
/**
* Whether SSL login should be forced.
*
* @since 2.6.0
*
* @see force_ssl_admin()
*
* @param string|bool $force Optional Whether to force SSL login. Default null.
* @return bool True if forced, false if not forced.
*/
function force_ssl_login( $force = null ) {
return force_ssl_admin( $force );
}
/**
* Whether to force SSL used for the Administration Screens.
*

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34699';
$wp_version = '4.4-alpha-34700';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.