[wp-trac] [WordPress Trac] #35795: `update_metadata()` double-unslashes meta key when using `add_metadata()`

WordPress Trac noreply at wordpress.org
Thu Feb 11 17:35:02 UTC 2016


#35795: `update_metadata()` double-unslashes meta key when using `add_metadata()`
-------------------------------------+------------------------------
 Reporter:  jdgrimes                 |       Owner:  boonebgorges
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Options, Meta APIs       |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36509"]:
 {{{
 #!CommitTicketReference repository="" revision="36509"
 Don't double-unslash meta key when `update_metadata()` falls back on
 `add_metadata()`.

 Props jdgrimes.
 Fixes #35795.
 }}}

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


More information about the wp-trac mailing list