[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
Fri Jun 14 20:58:27 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 ramon fincken):

 Checked => unit tests run OK!

 my compliments for first checking for assertNotEmpty first, then
 assertCount, then followed by the actual string check

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


More information about the wp-trac mailing list