[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:42:30 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 desrosj):

 Both edge cases of a site running the nightly generated on that fateful
 day, and `wp_enable_real_time_collaboration` missing entirely can be fixed
 simply by bumping the `$db_version` to `61833`, which was the most recent
 commit to modify the default options in `populate_options()`.

 I don't think an `upgrade_770()` routine to remove
 `enable_real_time_collaboration` is necessary. I tested both `0` and `1`
 as the value for this option and it had no effect on the functionality.

 However, database updates don't happen during the time between releases.
 It's almost never bumped for minor releases, and a bump is not guaranteed
 in every major version (only when there are changes to the schema). I bet
 that a non-zero number of users will manually delete the option from the
 database thinking that it will disable the feature if they don't want it.

 Because of this, I think that the user should not be completely locked out
 of editing their site when the option is missing entirely. Instead,
 "disabled" should be assumed in this scenario.

 I'm on the fence about this next suggestion, but maybe Site Health could
 include a health check that notifies the user when the option is missing
 from the database that "Real-time collaboration is disabled because the
 option is missing".

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64824#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list