- Timestamp:
- 11/15/2016 04:27:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
r39222 r39238 177 177 return new WP_Error( 178 178 'rest_cannot_delete', 179 sprintf( __( 'You do not have permission to edit the %s custom field.' ), $name ),179 sprintf( __( /* translators: %s: custom field key */ 'You do not have permission to edit the %s custom field.' ), $name ), 180 180 array( 'key' => $name, 'status' => rest_authorization_required_code() ) 181 181 ); … … 211 211 return new WP_Error( 212 212 'rest_cannot_update', 213 sprintf( __( 'You do not have permission to edit the %s custom field.' ), $name ),213 sprintf( __( /* translators: %s: custom field key */ 'You do not have permission to edit the %s custom field.' ), $name ), 214 214 array( 'key' => $name, 'status' => rest_authorization_required_code() ) 215 215 ); … … 281 281 return new WP_Error( 282 282 'rest_cannot_update', 283 sprintf( __( 'You do not have permission to edit the %s custom field.' ), $name ),283 sprintf( __( /* translators: %s: custom field key */ 'You do not have permission to edit the %s custom field.' ), $name ), 284 284 array( 'key' => $name, 'status' => rest_authorization_required_code() ) 285 285 );
Note: See TracChangeset
for help on using the changeset viewer.