#52793 closed defect (bug) (duplicate)
REST API: Sending empty array for single = false meta returns a 500 error if the there is not meta do delete
Reported by: | goaroundagain | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.7 |
Component: | REST API | Keywords: | has-unit-tests needs-patch |
Focuses: | rest-api | Cc: |
Description
If the Block Editor sends with WordPress 5.7 an empty array for single = false meta and there is no meta to delete, it returns a 500 error.
The default behaver of the Block Editor is to send an empty array for unset single = false meta.
This bug was introduced through this fix: https://core.trac.wordpress.org/ticket/50790
I will provide an updated unit test
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi @goaroundagain,
Thanks for the ticket. We're tracking this in #52787.