Make WordPress Core

Changeset 32969


Ignore:
Timestamp:
06/27/2015 08:34:09 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Revert [32702]. The URL may not have an s parameter as there are filters in place so that a plugin can return a URL with a completely different structure.

see #32572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r32929 r32969  
    22362236    }
    22372237
     2238    $url2x = get_avatar_url( $id_or_email, array_merge( $args, array( 'size' => $args['size'] * 2 ) ) );
     2239
    22382240    $args = get_avatar_data( $id_or_email, $args );
    22392241
     
    22432245        return false;
    22442246    }
    2245 
    2246     $url2x = add_query_arg( array( 's' => $args['size'] * 2 ), $args['url'] );
    22472247
    22482248    $class = array( 'avatar', 'avatar-' . (int) $args['size'], 'photo' );
Note: See TracChangeset for help on using the changeset viewer.