- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
r45903 r45932 152 152 return new WP_Error( 153 153 'rest_invalid_stored_value', 154 /* translators: %s: custom field key*/154 /* translators: %s: Custom field key. */ 155 155 sprintf( __( 'The %s property has an invalid stored value, and cannot be updated to null.' ), $name ), 156 156 array( 'status' => 500 ) … … 171 171 return new WP_Error( 172 172 'rest_invalid_stored_value', 173 /* translators: %s: custom field key*/173 /* translators: %s: Custom field key. */ 174 174 sprintf( __( 'The %s property has an invalid stored value, and cannot be updated to null.' ), $name ), 175 175 array( 'status' => 500 ) … … 214 214 return new WP_Error( 215 215 'rest_cannot_delete', 216 /* translators: %s: custom field key*/216 /* translators: %s: Custom field key. */ 217 217 sprintf( __( 'Sorry, you are not allowed to edit the %s custom field.' ), $name ), 218 218 array( … … 255 255 return new WP_Error( 256 256 'rest_cannot_update', 257 /* translators: %s: custom field key*/257 /* translators: %s: Custom field key. */ 258 258 sprintf( __( 'Sorry, you are not allowed to edit the %s custom field.' ), $name ), 259 259 array( … … 296 296 return new WP_Error( 297 297 'rest_meta_database_error', 298 /* translators: %s: custom field key*/298 /* translators: %s: Custom field key. */ 299 299 sprintf( __( 'Could not update the meta value of %s in database.' ), $meta_key ), 300 300 array( … … 310 310 return new WP_Error( 311 311 'rest_meta_database_error', 312 /* translators: %s: custom field key*/312 /* translators: %s: Custom field key. */ 313 313 sprintf( __( 'Could not update the meta value of %s in database.' ), $meta_key ), 314 314 array( … … 339 339 return new WP_Error( 340 340 'rest_cannot_update', 341 /* translators: %s: custom field key*/341 /* translators: %s: Custom field key. */ 342 342 sprintf( __( 'Sorry, you are not allowed to edit the %s custom field.' ), $name ), 343 343 array( … … 369 369 return new WP_Error( 370 370 'rest_meta_database_error', 371 /* translators: %s: custom field key*/371 /* translators: %s: Custom field key. */ 372 372 sprintf( __( 'Could not update the meta value of %s in database.' ), $meta_key ), 373 373 array(
Note: See TracChangeset
for help on using the changeset viewer.