[wp-trac] [WordPress Trac] #64782: Real-time collaboration awareness state can be mutated by another authorized user

WordPress Trac noreply at wordpress.org
Fri Mar 6 03:06:52 UTC 2026


#64782: Real-time collaboration awareness state can be mutated by another
authorized user
--------------------------------------+------------------------------
 Reporter:  czarate                   |       Owner:  ellatrix
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Editor                    |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+------------------------------
Changes (by peterwilsoncc):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:3 dd32]:
 > I'm seeing this warning being triggered on WordPress.org thousands of
 times per 5 minutes:
 >
 > > E_WARNING: Undefined array key “wp_user_id” in wp-
 includes/collaboration/class-wp-http-polling-sync-server.php:194
 ...
 > ''Edit: This is likely only due to running the previous version of the
 code in production. If this can't be reproduced by others, then please re-
 close this ticket as fixed. Do not add extra workarounds for it.''

 It is indeed due to running a previous beta in production.

 I was only able to reproduce it wit the following steps:

 1. Checkout Beta 2
 2. Start and save a post, leaving the editor open after saving.
 3. Checkout Beta 3
 4. Error occurs and frequently. A dialog is shown in the editor that the
 user is disconnected.

 If I closed the editor in step two, and reopened it after upgrading I did
 not receive any errors. For WordPress.org the errors should settle down
 once authors return to the post editors they've left open and close them
 due to the error message.

 I'll re-close this as fixed as it doesn't warrant a workaround.

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


More information about the wp-trac mailing list