From 41b9dfffe1601a2d9210dd0b9d4c99856558b4f5 Mon Sep 17 00:00:00 2001 From: sergeymitr Date: Fri, 15 Nov 2024 16:09:59 +0000 Subject: [PATCH] Connection: work around a WP user caching bug (#40188) WP bug #62003 leads to inconsistent format of cached user data in certain circumstances. It happens if only one field gets fetched from the database, so we add ID to work around the issue. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11859369283 Upstream-Ref: Automattic/jetpack@cd03f868144b99ae0a8767bcd217630ba3e4da27 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 089061d..8cc5881 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "require": { "php": ">=7.2", "automattic/jetpack-assets": "^3.0.0", - "automattic/jetpack-connection": "^6.0.0", + "automattic/jetpack-connection": "^6.0.1-alpha", "automattic/jetpack-constants": "^3.0.0", "automattic/jetpack-plans": "^0.5.0", "automattic/jetpack-redirect": "^3.0.0",