Changes between Initial Version and Version 1 of Ticket #48119
- Timestamp:
- 09/24/2019 07:54:33 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #48119
-
Property
Version
changed from
trunk
to
-
Property
Version
changed from
-
Ticket #48119 – Description
initial v1 1 When renaming the WordPress cookies to use the __Host- or __Secure-cookie prefix, logging out no longer works. The wp_clear_auth_cookie() function needs to use the "Secure" cookie flag to ensure that modern browsers will allow in to overwrite the login cookies when cookie prefixes are used.1 When renaming the WordPress cookies to use the `__Host-` or `__Secure-` cookie prefix, logging out no longer works. The wp_clear_auth_cookie() function needs to use the "Secure" cookie flag to ensure that modern browsers will allow in to overwrite the login cookies when cookie prefixes are used. 2 2 3 3 How to reproduce: … … 5 5 1. Use HTTPS 6 6 2. Set cookie prefixes in wp_config.php: 7 {{{ 7 8 if (@$_SERVER['HTTPS'] == 'on') { 8 9 define( 'COOKIEHASH', md5( WP_HOME ) ); … … 19 20 define( 'PLUGINS_COOKIE_PATH', '/' ); 20 21 } 22 }}} 21 23 22 24 3. Login