WordPress/wp-includes/rest-api/fields
K. Adam White a943d902c1 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.

Built from https://develop.svn.wordpress.org/branches/5.0@43740


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-17 20:10:25 +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-10-17 20:10:25 +00:00
class-wp-rest-post-meta-fields.php
class-wp-rest-term-meta-fields.php
class-wp-rest-user-meta-fields.php