Changeset 46660 for trunk/src/wp-includes/rest-api.php
- Timestamp:
- 11/05/2019 09:21:46 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/rest-api.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r46644 r46660 1166 1166 * @param mixed $id_or_email The Gravatar to retrieve a URL for. Accepts a user_id, gravatar md5 hash, 1167 1167 * user email, WP_User object, WP_Post object, or WP_Comment object. 1168 * @return array Gravatar url for each size.1168 * @return array Avatar URLs keyed by size. Each value can be a URL string or boolean false. 1169 1169 */ 1170 1170 function rest_get_avatar_urls( $id_or_email ) { … … 1184 1184 * @since 4.7.0 1185 1185 * 1186 * @return arrayList of pixel sizes for avatars. Default `[ 24, 48, 96 ]`.1186 * @return int[] List of pixel sizes for avatars. Default `[ 24, 48, 96 ]`. 1187 1187 */ 1188 1188 function rest_get_avatar_sizes() { … … 1195 1195 * @since 4.4.0 1196 1196 * 1197 * @param array$sizes An array of int values that are the pixel sizes for avatars.1197 * @param int[] $sizes An array of int values that are the pixel sizes for avatars. 1198 1198 * Default `[ 24, 48, 96 ]`. 1199 1199 */
Note: See TracChangeset
for help on using the changeset viewer.