[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:05:37 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 dev-feedback         |     Focuses:
-------------------------------------------------+-------------------------
Changes (by desrosj):

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


Comment:

 The `pre_get_avatar` could also be used for changing the size requested.
 While it may not be as convenient as expanding the function, this is
 definitely possible.

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


More information about the wp-trac mailing list