Changeset 33891 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 09/03/2015 06:16:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r33827 r33891 2191 2191 * 2192 2192 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash, 2193 * user email, WP_User object, WP_Post object, or comment object.2193 * user email, WP_User object, WP_Post object, or WP_Comment object. 2194 2194 * @param int $size Optional. Height and width of the avatar image file in pixels. Default 96. 2195 2195 * @param string $default Optional. URL for the default image or a default type. Accepts '404' … … 2259 2259 * @since 4.2.0 2260 2260 * 2261 * @param string $avatar HTML for the user's avatar. Default null. 2262 * @param int|object|string $id_or_email A user ID, email address, or comment object. 2263 * @param array $args Arguments passed to get_avatar_url(), after processing. 2261 * @param string $avatar HTML for the user's avatar. Default null. 2262 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash, 2263 * user email, WP_User object, WP_Post object, or WP_Comment object. 2264 * @param array $args Arguments passed to get_avatar_url(), after processing. 2264 2265 */ 2265 2266 $avatar = apply_filters( 'pre_get_avatar', null, $id_or_email, $args ); … … 2315 2316 * @since 4.2.0 The `$args` parameter was added. 2316 2317 * 2317 * @param string $avatar <img> tag for the user's avatar. 2318 * @param int|object|string $id_or_email A user ID, email address, or comment object. 2319 * @param int $size Square avatar width and height in pixels to retrieve. 2320 * @param string $alt Alternative text to use in the avatar image tag. 2318 * @param string $avatar <img> tag for the user's avatar. 2319 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash, 2320 * user email, WP_User object, WP_Post object, or WP_Comment object. 2321 * @param int $size Square avatar width and height in pixels to retrieve. 2322 * @param string $alt Alternative text to use in the avatar image tag. 2321 2323 * Default empty. 2322 * @param array 2324 * @param array $args Arguments passed to get_avatar_data(), after processing. 2323 2325 */ 2324 2326 return apply_filters( 'get_avatar', $avatar, $id_or_email, $args['size'], $args['default'], $args['alt'], $args );
Note: See TracChangeset
for help on using the changeset viewer.