[wp-trac] [WordPress Trac] #42069: Saving metadata fails (randomly) if equal value already exists
WordPress Trac
noreply at wordpress.org
Thu Dec 13 16:30:01 UTC 2018
#42069: Saving metadata fails (randomly) if equal value already exists
------------------------------------------------+-------------------------
Reporter: JVel | Owner: kadamwhite
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0
Component: REST API | Version: 4.8.2
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests fixed-5.0 | Focuses: rest-api
------------------------------------------------+-------------------------
Changes (by desrosj):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"44113" 44113]:
{{{
#!CommitTicketReference repository="" revision="44113"
REST API: Slash existing meta values when comparing with incoming meta
upates.
When comparing the old and new values for a meta key being set, ensure
both values are sanitized using the same logic so that equal values match.
props boonebgorges, dcavins, MattGeri, pilou69, TimothyBlynJacobs,
kadamwhite.
Merges [43740] to trunk.
Fixes #42069.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42069#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list