- Timestamp:
- 11/15/2016 05:38:21 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r39238 r39239 975 975 976 976 if ( ! isset( $wp_roles->role_objects[ $role ] ) ) { 977 return new WP_Error( 'rest_user_invalid_role', sprintf( __( /* translators: %s: role key */ 'The role %s does not exist.' ), $role ), array( 'status' => 400 ) ); 977 /* translators: %s: role key */ 978 return new WP_Error( 'rest_user_invalid_role', sprintf( __( 'The role %s does not exist.' ), $role ), array( 'status' => 400 ) ); 978 979 } 979 980 … … 1207 1208 foreach ( $avatar_sizes as $size ) { 1208 1209 $avatar_properties[ $size ] = array( 1209 'description' => sprintf( __( /* translators: %d: avatar image size in pixels */ 'Avatar URL with image size of %d pixels.' ), $size ), 1210 /* translators: %d: avatar image size in pixels */ 1211 'description' => sprintf( __( 'Avatar URL with image size of %d pixels.' ), $size ), 1210 1212 'type' => 'string', 1211 1213 'format' => 'uri',
Note: See TracChangeset
for help on using the changeset viewer.