Files
wordpress/wp-admin
mcsf fc38e49a72 Real-time collaboration: Update "Join" action label in post list if lock expires
When RTC is enabled, let the "Join" action link in the post list turn into "Edit" after the post lock expires. Do this by rendering both "Edit" and "Join" as separate spans and toggling visibility via CSS using the `wp-collaborative-editing` class that heartbeat already manages. Do the same to aria-label with screen-reader-text spans so the accessible name stays in sync with the visible text across lock state changes.

Developed in https://github.com/WordPress/wordpress-develop/pull/11346.

Follow-up to [62074].

Props shekharnwagh.
See #64622.


Built from https://develop.svn.wordpress.org/trunk@62146


git-svn-id: http://core.svn.wordpress.org/trunk@61428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-26 16:10:38 +00:00
..