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

WordPress Trac noreply at wordpress.org
Wed Aug 28 03:07:16 UTC 2019


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45903" 45903]:
 {{{
 #!CommitTicketReference repository="" revision="45903"
 REST API: Only cast scalar types to string when comparing new & old meta
 values.

 Newly-supported array and object meta types should not be cast to strings.

 Props TimothyBlynJacobs, caercam.
 Fixes #47928.
 }}}

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


More information about the wp-trac mailing list