mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-04 07:52:45 +00:00
Previously, the REST API would end up deleting each row of metadata and recreating it unnecessarily. This was caused by a type mismatch where the metadata API would always return a string value, and the REST API operated on a typed value. The REST API now applies the same sanitization and type casting for "multiple" meta keys and "single" meta keys. Fixes #49339. Props renathoc. git-svn-id: https://develop.svn.wordpress.org/trunk@47943 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| class-wp-rest-comment-meta-fields.php | ||
| class-wp-rest-meta-fields.php | ||
| class-wp-rest-post-meta-fields.php | ||
| class-wp-rest-term-meta-fields.php | ||
| class-wp-rest-user-meta-fields.php | ||