[wp-trac] [WordPress Trac] #64824: User is completely unable to edit content when `wp_enable_real_time_collaboration` is missing from `wp_options`
WordPress Trac
noreply at wordpress.org
Sat Mar 7 01:58:23 UTC 2026
#64824: User is completely unable to edit content when
`wp_enable_real_time_collaboration` is missing from `wp_options`
--------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Comment (by dlh):
I also encountered this issue today. But I think there's an issue in
[61833] that contributes to the problem.
[61833] added a filter to
`default_option_wp_enable_real_time_collaboration` to enable RTC by
default. This happens in `default-filters.php`.
However, on `rest_api_init`, the `wp_enable_real_time_collaboration`
setting is registered as part of `register_initial_settings()`. The
registration arguments include a default of `false`, which adds another
filter to `default_option_wp_enable_real_time_collaboration`. Because this
filter is added later, it runs later and overwrites the filter from
`default-filters.php`.
In my multisite installation running beta3, this was the cause of my
seeing the immediate "Connection lost" message. If I change the priority
of the `__return_true` filter to be greater than `10`, it works as
intended, and I don't see the message.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64824#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list