- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r45811 r45932 1084 1084 1085 1085 if ( ! isset( $wp_roles->role_objects[ $role ] ) ) { 1086 /* translators: %s: role key*/1086 /* translators: %s: Role key. */ 1087 1087 return new WP_Error( 'rest_user_invalid_role', sprintf( __( 'The role %s does not exist.' ), $role ), array( 'status' => 400 ) ); 1088 1088 } … … 1320 1320 foreach ( $avatar_sizes as $size ) { 1321 1321 $avatar_properties[ $size ] = array( 1322 /* translators: %d: avatar image size in pixels*/1322 /* translators: %d: Avatar image size in pixels. */ 1323 1323 'description' => sprintf( __( 'Avatar URL with image size of %d pixels.' ), $size ), 1324 1324 'type' => 'string',
Note: See TracChangeset
for help on using the changeset viewer.