Ticket #34011: 34011.patch
| File 34011.patch, 1.3 KB (added by , 10 years ago) |
|---|
-
src/wp-includes/deprecated.php
3620 3620 3621 3621 return $headers; 3622 3622 } 3623 3624 /** 3625 * Whether SSL login should be forced. 3626 * 3627 * @since 2.6.0 3628 * @deprecated 4.4.0 Use force_ssl_admin() 3629 * 3630 * @param string|bool $force Optional Whether to force SSL login. Default null. 3631 * @return bool True if forced, false if not forced. 3632 */ 3633 function force_ssl_login( $force = null ) { 3634 _deprecated_function( __FUNCTION__, '4.4', 'force_ssl_admin()' ); 3635 return force_ssl_admin( $force ); 3636 } -
src/wp-includes/functions.php
3766 3766 } 3767 3767 3768 3768 /** 3769 * Whether SSL login should be forced.3770 *3771 * @since 2.6.03772 *3773 * @see force_ssl_admin()3774 *3775 * @param string|bool $force Optional Whether to force SSL login. Default null.3776 * @return bool True if forced, false if not forced.3777 */3778 function force_ssl_login( $force = null ) {3779 return force_ssl_admin( $force );3780 }3781 3782 /**3783 3769 * Whether to force SSL used for the Administration Screens. 3784 3770 * 3785 3771 * @since 2.6.0