WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/29/2015 09:27:40 PM (4 years ago)
Author:
johnbillion
Message:

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

Fixes #34011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r34566 r34700  
    36213621    return $headers;
    36223622}
     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 */
     3633function force_ssl_login( $force = null ) {
     3634    _deprecated_function( __FUNCTION__, '4.4', 'force_ssl_admin()' );
     3635    return force_ssl_admin( $force );
     3636}
Note: See TracChangeset for help on using the changeset viewer.