[wp-trac] [WordPress Trac] #55600: Can't save registered post meta field of type string that equals registered default value via REST API

WordPress Trac noreply at wordpress.org
Wed Jun 26 14:10:38 UTC 2024


#55600: Can't save registered post meta field of type string that equals registered
default value via REST API
--------------------------------------+------------------------------
 Reporter:  kraftner                  |       Owner:  (none)
     Type:  defect (bug)              |      Status:  reopened
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Options, Meta APIs        |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+------------------------------

Comment (by kraftner):

 Okay, I did a final refactor for the tests.

 The tests now dynamically cover all combinations of scalar types including
 having them in objects and arrays.

 Also each of these now runs as a single test which makes it easy to see
 the specific failures as shown in the table above without the patch
 applied.

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


More information about the wp-trac mailing list