[wp-trac] [WordPress Trac] #52787: Empty array for non-single post meta breaks post save through REST API

WordPress Trac noreply at wordpress.org
Fri Mar 12 18:25:42 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:  needs-patch good-first-bug  |     Focuses:  rest-api
----------------------------------------+-----------------------

Comment (by TimothyBlynJacobs):

 Thanks for the test @goaroundagain! Could you separate it out into a
 different test case? Something like
 `test_delete_does_not_trigger_error_if_no_meta_values`?

 @BrechtVds, @goaroundagain Would either of you be interested in working on
 a patch for this issue?

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


More information about the wp-trac mailing list