[wp-trac] [WordPress Trac] #42069: Saving metadata fails (randomly) if equal value already exists

WordPress Trac noreply at wordpress.org
Mon Sep 17 20:04:30 UTC 2018


#42069: Saving metadata fails (randomly) if equal value already exists
-------------------------------------+-----------------------
 Reporter:  JVel                     |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.0
Component:  REST API                 |     Version:  4.8.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  rest-api
-------------------------------------+-----------------------

Comment (by boonebgorges):

 Responding to @dcavins
 https://core.trac.wordpress.org/ticket/42810#comment:12:

 Hm, the only way I could get any of these tests to fail at all was to
 `register_meta()`. Otherwise the REST API endpoint was ignoring them. See
 [attachment:"42069.4.diff"]. With that change, the tests are now
 failing/passing as expected.

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


More information about the wp-trac mailing list