Repository navigation
fix: preserve focus across heartbeat re-renders in the network Who's Online widget - #390
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
▶ Preview in WordPress PlaygroundBoth boot a fresh WordPress with this PR's presence-api build and log you in. Single site seeds 5 demo users and lands on the dashboard. Multisite network adds three sub-sites alongside the main one, seeds 5 users on each, and lands on Network Admin. Stress-test variant: 40 demo users · Built from |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #390 +/- ##
=========================================
Coverage 96.87% 96.87%
Complexity 239 239
=========================================
Files 19 19
Lines 2782 2782
=========================================
Hits 2695 2695
Misses 87 87
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Closes #389
Third time for this one:
45e4f13fixed it for Who's Online and07846f7for Active Posts, both on 2026-08-12, and the network widget shipped afterwards without picking it up.Verified in Chromium against a three-site wp-env network, focusing a site link and forcing a real re-render:
Before the patch the same run reported
"localhost:8888/" -> "<body>".Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5
Used for: Assisting with implementation