[wp-trac] [WordPress Trac] #52793: REST API: Sending empty array for single = false meta returns a 500 error if the there is not meta do delete

WordPress Trac noreply at wordpress.org
Fri Mar 12 15:51:24 UTC 2021


#52793: REST API: Sending empty array for single = false meta returns a 500 error
if the there is not meta do delete
----------------------------------------+------------------------
 Reporter:  goaroundagain               |       Owner:  (none)
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:
Component:  REST API                    |     Version:  5.7
 Severity:  normal                      |  Resolution:  duplicate
 Keywords:  has-unit-tests needs-patch  |     Focuses:  rest-api
----------------------------------------+------------------------
Changes (by goaroundagain):

 * Attachment "52793.diff" added.

 Updated Test to show error

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52793>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list