Skip to content

Commit

Permalink
Connection: work around a WP user caching bug (#40188)
Browse files Browse the repository at this point in the history
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@cd03f86
  • Loading branch information
sergeymitr authored and matticbot committed Nov 15, 2024
1 parent fe1df84 commit 41b9dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 41b9dff

Please sign in to comment.