[wp-trac] [WordPress Trac] #47928: REST API: 'array' type meta not updating properly

WordPress Trac noreply at wordpress.org
Fri Aug 23 14:37:12 UTC 2019


#47928: REST API: 'array' type meta not updating properly
--------------------------+--------------------------------
 Reporter:  caercam       |       Owner:  TimothyBlynJacobs
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  5.3
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+--------------------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => needs-patch
 * owner:  (none) => TimothyBlynJacobs
 * status:  new => assigned
 * milestone:  Awaiting Review => 5.3


Comment:

 Assigning to myself to look into this.

 To clarify something, the check isn't to avoid a needless update. If we
 make a call to the update metadata API with an identical value, the
 function will return false. We have no way of distinguishing that false
 return value from an actual error.

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


More information about the wp-trac mailing list