Changeset 47398 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 03/01/2020 10:38:00 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r47397 r47398 856 856 } 857 857 858 // Front-end cookie is secure when the auth cookie is secure and the site's home URL is forcedHTTPS.858 // Front-end cookie is secure when the auth cookie is secure and the site's home URL uses HTTPS. 859 859 $secure_logged_in_cookie = $secure && 'https' === parse_url( get_option( 'home' ), PHP_URL_SCHEME ); 860 860 861 861 /** 862 * Filters whether the connection is secure.862 * Filters whether the auth cookie should only be sent over HTTPS. 863 863 * 864 864 * @since 3.1.0 865 865 * 866 * @param bool $secure Whether the co nnection is secure.866 * @param bool $secure Whether the cookie should only be sent over HTTPS. 867 867 * @param int $user_id User ID. 868 868 */ … … 870 870 871 871 /** 872 * Filters whether t o use a secure cookie when logged-in.872 * Filters whether the logged in cookie should only be sent over HTTPS. 873 873 * 874 874 * @since 3.1.0 875 875 * 876 * @param bool $secure_logged_in_cookie Whether t o use a secure cookie when logged-in.876 * @param bool $secure_logged_in_cookie Whether the logged in cookie should only be sent over HTTPS. 877 877 * @param int $user_id User ID. 878 * @param bool $secure Whether the connection is secure.878 * @param bool $secure Whether the auth cookie should only be sent over HTTPS. 879 879 */ 880 880 $secure_logged_in_cookie = apply_filters( 'secure_logged_in_cookie', $secure_logged_in_cookie, $user_id, $secure );
Note: See TracChangeset
for help on using the changeset viewer.