[wp-trac] [WordPress Trac] #60761: Interactivity API: Empty state objects are not correctly sent to the client

WordPress Trac noreply at wordpress.org
Thu Mar 14 15:44:42 UTC 2024


#60761: Interactivity API: Empty state objects are not correctly sent to the client
--------------------------------------+-------------------------
 Reporter:  jonsurrell                |       Owner:  jonsurrell
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.5
Component:  Editor                    |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------

Comment (by gziolo):

 What's the implication of serving an empty array `[]` from the server
 instead of an object `{}`? Will it break something on the client? I'm
 thinking about how severe the problem is to make a good decision whether
 to include in 6.5.0.

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


More information about the wp-trac mailing list