Skip to content

Move real-time collaboration code to lib/experimental/collaboration - #80469

Merged
t-hamano merged 2 commits into
trunkfrom
move/rtc-to-experimental-collaboration
Jul 20, 2026
Merged

Move real-time collaboration code to lib/experimental/collaboration#80469
t-hamano merged 2 commits into
trunkfrom
move/rtc-to-experimental-collaboration

Conversation

@t-hamano

@t-hamano t-hamano commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

What?

Part of #80387

Move the RTC PHP code out of lib/compat/wordpress-7.1/ into a dedicated lib/experimental/collaboration/ directory.

Why?

RTC did not ship in WordPress 7.1. It could have moved to lib/compat/wordpress-7.2/, but there is no certainty it will be released in 7.2 either. Until the target release is clear, keeping the code in an isolated experimental directory is a better place to keep developing it than a version-specific compat folder that implies a shipping target.

Testing Instructions

This is a pure file/require relocation with no behavior change. All CI checks should pass.

Use of AI Tools

This PR was authored with the assistance of Claude Code (Claude Opus). All changes were reviewed by the author.

t-hamano and others added 2 commits July 20, 2026 18:32
RTC is not part of WordPress 7.1, and whether it lands in a future
release is still undecided. Move the sync/save servers, storage, the
collaboration bootstrap, the RTC autosaves controller and its REST
override, and the RTC meta-box compat out of compat/wordpress-7.1 into
a dedicated experimental/collaboration directory.

The autosaves controller extends WP_REST_Autosaves_Controller, so it
stays inside the class_exists( 'WP_REST_Controller' ) guard; the
meta-box compat moves to the unconditional Experimental features
section.

Co-Authored-By: Claude <noreply@anthropic.com>
…w actions

The "Edit &#8220;%s&#8221;" and "Edit" strings reuse WordPress Core
translations, so pass the 'default' text domain explicitly to satisfy
WordPress.WP.I18n.MissingArgDomainDefault and reuse core's existing
translations.

Co-Authored-By: Claude <noreply@anthropic.com>
@t-hamano t-hamano self-assigned this Jul 20, 2026
@t-hamano t-hamano added [Type] Code Quality Issues or PRs that relate to code quality [Feature] Real-time Collaboration Phase 3 of the Gutenberg roadmap around real-time collaboration labels Jul 20, 2026
@t-hamano
t-hamano requested review from alecgeatches and pkevan July 20, 2026 09:51
@t-hamano t-hamano added the No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core label Jul 20, 2026
@t-hamano
t-hamano marked this pull request as ready for review July 20, 2026 10:24
@t-hamano
t-hamano requested a review from spacedmonkey as a code owner July 20, 2026 10:24
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org>
Co-authored-by: ingeniumed <ingeniumed@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@Mamaduka Mamaduka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @t-hamano!

@im3dabasia

im3dabasia commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

For visibility, I'm attaching the original issue here for reference: #80387. I've updated the description as well.

@t-hamano

Copy link
Copy Markdown
Contributor Author

Thanks for the review!

For visibility, I'm attaching the original issue here for reference: #80387. I've updated the description as well.

I don't think this PR alone can close #80387. We'll need another PR to change the polling provider to an experimental feature.

@t-hamano
t-hamano merged commit 326239e into trunk Jul 20, 2026
54 of 58 checks passed
@t-hamano
t-hamano deleted the move/rtc-to-experimental-collaboration branch July 20, 2026 11:13
@github-actions github-actions Bot added this to the Gutenberg 23.7 milestone Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Real-time Collaboration Phase 3 of the Gutenberg roadmap around real-time collaboration No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants