[wp-trac] [WordPress Trac] #37773: Update get_avatar() to support native and registered image sizes.

WordPress Trac noreply at wordpress.org
Thu Jul 27 17:03:38 UTC 2017


#37773: Update get_avatar() to support native and registered image sizes.
-------------------------------------------------+-------------------------
 Reporter:  jmichaelward                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Media                                |  Review
 Severity:  normal                               |     Version:  2.5
 Keywords:  has-patch has-unit-tests needs-      |  Resolution:
  testing reporter-feedback                      |     Focuses:
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
     testing reporter-feedback
 * version:   => 2.5


Comment:

 @jmichaelward I like the idea. In talking it over with @joemcgill, we were
 wonderin what would happen if someone supplies a non-square image size? If
 I recall correctly (and it has not changed), I believe Gravatar will only
 return a square. Say the image size is 800x400. The image returned could
 return unexpected results.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37773#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list