PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.21
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.21
1.10.22 1.10.21 1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 All 166 releases
← All changes | includes/Init.php +12 -0 1.10.20 → 1.10.21 View file →
@@ -270,8 +270,20 @@
270 270 'args' => 0,
271 271 'reason' => 'Append after lifecycle; REST priority 999 reports the final response status, gated by consent (#1811).',
272 272 'phase' => 'post-latch',
273 273 ),
274 + array(
275 + 'hook' => null,
276 + 'callback' => static function (): void {
277 + add_action( 'wp_logout', array( Services\Auth::class, 'revoke_web_session_on_logout' ), 10, 1 );
278 + add_action( 'password_reset', array( Services\Auth::class, 'revoke_sessions_on_password_reset' ), 10, 1 );
279 + add_action( 'profile_update', array( Services\Auth::class, 'revoke_sessions_on_password_change' ), 10, 2 );
280 + },
281 + 'priority' => 10,
282 + 'args' => 0,
283 + 'reason' => 'Default 10; logout ends this browser\'s web POS session, a password reset or change ends every POS session. Auth is built only when one fires.',
284 + 'phase' => 'post-latch',
285 + ),
274 286 );
275 287
276 288 return array_values(
277 289 array_filter(