Changeset 2942084
- Timestamp:
- 07/23/2023 12:29:58 PM (13 months ago)
- Location:
- clear-logout
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
clear-logout/trunk/clear-logout.php
r2497179 r2942084 4 4 Plugin URI: https://wordpress.org/plugins/clear-logout/ 5 5 Description: A tiny WordPress plugin to clear all browser data related to the site upon logout (With `Clear-Site-Data` header). 6 Version: 1. 26 Version: 1. 7 7 Author: Ayesh Karunaratne 8 8 Author URI: https://aye.sh/open-source … … 21 21 * future storage options browsers might add in the future. 22 22 */ 23 \add_action('wp_logout', static function (){24 $clear = \defined('WP_CLEAR_LOGOUT_CLEAR') && \is_string(\WP_CLEAR_LOGOUT_CLEAR)25 ? \str_replace(["\n","\r"], '', \WP_CLEAR_LOGOUT_CLEAR)23 { 24 $clear = is_string(\WP_CLEAR_LOGOUT_CLEAR) 25 ? str_replace(["\n","\r"], '', \WP_CLEAR_LOGOUT_CLEAR) 26 26 : '"*"'; 27 27 28 \header('Clear-Site-Data: ' . $clear);28 header('Clear-Site-Data: ' . $clear); 29 29 }); -
clear-logout/trunk/composer.json
r2497168 r2942084 17 17 "source": "https://github.com/phpwatch/wordpress-clear-logout" 18 18 }, 19 "keywords": ["security", "logout", " authentication", "wordpress", "wordpress-security", "wordpress-plugin"],19 "keywords": ["security", "logout", "authentication", "wordpress", "wordpress-security", "wordpress-plugin"], 20 20 "minimum-stability": "stable", 21 21 "require": { 22 "php": ">= 5.6.0",22 "php": ">=.0", 23 23 "composer/installers": "~1.0" 24 24 }, -
clear-logout/trunk/readme.txt
r2497185 r2942084 3 3 Tags: password, security, logout, authentication 4 4 Requires at least: 5.1 5 Tested up to: 5.76 Stable tag: 1. 27 Requires PHP: 5.65 Tested up to: 6 Stable tag: 1. 7 Requires PHP: 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 13 13 == Description == 14 14 15 This plugin ensures that when users of your web 15 This plugin ensures that when users of your website (including site administrators), the browsers are instructed to clear all residue such as cookies and caches to enhance the security. 16 16 17 17 [`Clear-Site-Data` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data) is sent when a user logs out, which supported browsers will react by removing all existing cookies, cache, and other storage. It will **not** remove saved passwords, permissions, adblocker rules, and other data that are supposed to be permanent. … … 45 45 * Initial release. 46 46 47 48 47 = 1.1 = 49 48 * Update supported up-to version number. … … 51 50 = 1.2 = 52 51 * Update supported up-to version number. 52 53 54 55
Note: See TracChangeset
for help on using the changeset viewer.