- Timestamp:
- 10/09/2019 05:34:20 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
r46346 r46454 366 366 } 367 367 368 if ( ! update_metadata( $meta_type, $object_id, wp_slash( $meta_key ), wp_slash ( $value ) ) ) {368 if ( ! update_metadata( $meta_type, $object_id, wp_slash( $meta_key ), wp_slash_strings_only( $value ) ) ) { 369 369 return new WP_Error( 370 370 'rest_meta_database_error',
Note: See TracChangeset
for help on using the changeset viewer.