WordPress.org

Make WordPress Core

Changeset 20563


Ignore:
Timestamp:
04/22/2012 11:45:31 AM (9 years ago)
Author:
duck_
Message:

Add missing "?" to gravatar_default URL in get_avatar() to set size parameter correctly. Fixes #20512.

File:
1 edited

Legend:

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

    r20424 r20563  
    16481648        $default = '';
    16491649    elseif ( 'gravatar_default' == $default )
    1650         $default = "$host/avatar/s={$size}";
     1650        $default = "$host/avatar/?s={$size}";
    16511651    elseif ( empty($email) )
    16521652        $default = "$host/avatar/?d=$default&s={$size}";
Note: See TracChangeset for help on using the changeset viewer.