Changeset 40240 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 03/08/2017 12:04:05 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r40239 r40240 901 901 do_action( 'set_logged_in_cookie', $logged_in_cookie, $expire, $expiration, $user_id, 'logged_in' ); 902 902 903 /**904 * Allows preventing auth cookies from actually being sent to the client.905 *906 * @since 4.7.4907 *908 * @param bool $send Whether to send auth cookies to the client.909 */910 if ( ! apply_filters( 'send_auth_cookies', true ) ) {911 return;912 }913 914 903 setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure, true); 915 904 setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure, true); … … 933 922 */ 934 923 do_action( 'clear_auth_cookie' ); 935 936 /**937 * Allows preventing auth cookies from actually being sent to the client.938 *939 * @since 4.7.4940 *941 * @param bool $send Whether to send auth cookies to the client.942 */943 if ( ! apply_filters( 'send_auth_cookies', true ) ) {944 return;945 }946 924 947 925 setcookie( AUTH_COOKIE, ' ', time() - YEAR_IN_SECONDS, ADMIN_COOKIE_PATH, COOKIE_DOMAIN );
Note: See TracChangeset
for help on using the changeset viewer.