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