Skip to content

Comments

Add wp prefix to enable_real_time_collaboration option.#11001

Closed
peterwilsoncc wants to merge 2 commits intoWordPress:trunkfrom
peterwilsoncc:follow/64622-prefix-rtc-option-name
Closed

Add wp prefix to enable_real_time_collaboration option.#11001
peterwilsoncc wants to merge 2 commits intoWordPress:trunkfrom
peterwilsoncc:follow/64622-prefix-rtc-option-name

Conversation

@peterwilsoncc
Copy link
Contributor

Renames the option enable_real_time_collaboration to wp_enable_real_time_collaboration to follow convention since WordPress 5.8 to prefix new core options with wp.

Trac ticket: https://core.trac.wordpress.org/ticket/64622#comment:34

Use of AI Tools

Nil.


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@github-actions
Copy link

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@peterwilsoncc peterwilsoncc marked this pull request as ready for review February 23, 2026 04:11
@github-actions
Copy link

github-actions bot commented Feb 23, 2026

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.

Core Committers: Use this line as a base for the props when committing in SVN:

Props peterwilsoncc, mukesh27, parthvataliya, czarate.

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

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

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

The changes make sense to me. Minor comment.

Copy link

@chriszarate chriszarate left a comment

Choose a reason for hiding this comment

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

Noting only that changing the option name will turn off real-time collaboration for anyone who has turned it on previously using the beta 1 release. (I think this is fine.)

@peterwilsoncc peterwilsoncc force-pushed the follow/64622-prefix-rtc-option-name branch from 4bba68b to 34fb4ee Compare February 23, 2026 21:10
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>
@peterwilsoncc
Copy link
Contributor Author

Noting only that changing the option name will turn off real-time collaboration for anyone who has turned it on previously using the beta 1 release. (I think this is fine.)

Yeah, I'm fine with that too as it hasn't been in a production version.

For the associated Gutenberg PR, I've included a migration because the feature has been active in the plugin for a little longer. WordPress/gutenberg#75837

@peterwilsoncc
Copy link
Contributor Author

Merged r61722 / 155e301

@peterwilsoncc peterwilsoncc deleted the follow/64622-prefix-rtc-option-name branch February 24, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants