WordPress/wp-includes/rest-api/fields
desrosj 4e57c6f941 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.
Built from https://develop.svn.wordpress.org/trunk@44113


git-svn-id: http://core.svn.wordpress.org/trunk@43943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 16:30:37 +00:00
..
class-wp-rest-comment-meta-fields.php
class-wp-rest-meta-fields.php REST API: Slash existing meta values when comparing with incoming meta upates. 2018-12-13 16:30:37 +00:00
class-wp-rest-post-meta-fields.php
class-wp-rest-term-meta-fields.php
class-wp-rest-user-meta-fields.php