You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Post Locking: Replace exclusive lock UI with collaborative editing indicator when RTC is enabled.
When real-time collaboration is enabled, the post list no longer shows exclusive
lock semantics (padlock icon, user avatar, "{user} is currently editing") since
multiple users can collaboratively edit the same post. Instead:
- Shows generic "Currently being edited" text without user-specific info.
- Uses `wp-collaborative-editing` CSS class instead of `wp-locked`, which
preserves checkbox and row action visibility (no exclusive lock restrictions).
- Changes the "Edit" row action text to "Join" for locked posts.
- Heartbeat responses send generic text with a `collaborative` flag.
- Injects `_wpCollaborationEnabled` into `inline-edit-post` script so the
heartbeat JS handler applies the correct class on dynamic lock updates.
When RTC is disabled, classic lock behavior is completely unchanged.
Backports WordPress/gutenberg#76322 to core.
Props pkevan.
See #75313.
0 commit comments