Changeset 32702 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 06/07/2015 02:57:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r32692 r32702 2230 2230 } 2231 2231 2232 $url2x = get_avatar_url( $id_or_email, array_merge( $args, array( 'size' => $args['size'] * 2 ) ) );2233 2234 2232 $args = get_avatar_data( $id_or_email, $args ); 2235 2233 … … 2237 2235 2238 2236 if ( ! $url || is_wp_error( $url ) ) { 2239 return false; 2240 } 2237 return false; 2238 } 2239 2240 $url2x = add_query_arg( array( 's' => $args['size'] * 2 ), $args['url'] ); 2241 2241 2242 2242 $class = array( 'avatar', 'avatar-' . (int) $args['size'], 'photo' ); 2243 2243 2244 2244 if ( ! $args['found_avatar'] || $args['force_default'] ) { 2245 2245 $class[] = 'avatar-default'; 2246 2246 } 2247 2247
Note: See TracChangeset
for help on using the changeset viewer.