[wp-trac] [WordPress Trac] #42069: Saving metadata fails (randomly) if equal value already exists
WordPress Trac
noreply at wordpress.org
Wed Oct 17 20:09:36 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 commit | Focuses: rest-api
---------------------------------------------+-------------------------
Changes (by kadamwhite):
* owner: (none) => kadamwhite
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"43740" 43740]:
{{{
#!CommitTicketReference repository="" revision="43740"
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.
Fixes #42069.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42069#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list