[wp-trac] [WordPress Trac] #52787: Empty array for non-single post meta breaks post save through REST API
WordPress Trac
noreply at wordpress.org
Mon Mar 22 04:38:15 UTC 2021
#52787: Empty array for non-single post meta breaks post save through REST API
-------------------------------------------------+-------------------------
Reporter: BrechtVds | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 5.7.1
Component: REST API | Version: 5.7
Severity: major | Resolution:
Keywords: good-first-bug has-patch has-unit- | Focuses: rest-api
tests |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
This looks good to me, tests well locally too.
In [attachment:"52787.2.diff"]:
* No functional change to [attachment:"52787.diff"]
* Added a duplicate test for deleting non-existent data with `null` as
well as when using an empty array
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52787#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list