[wp-trac] [WordPress Trac] #40030: Pass User and Comment Objects to rest_get_avatar_urls

WordPress Trac noreply at wordpress.org
Sun Mar 26 01:43:39 UTC 2017


#40030: Pass User and Comment Objects to rest_get_avatar_urls
--------------------------+-----------------------------
 Reporter:  dshanske      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  REST API      |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------------
Changes (by joehoyle):

 * milestone:  Awaiting Review => Future Release


Comment:

 This makes sense to me, we'll need to change the signature of
 `rest_get_avatar_urls` to accept an object too - Another idea would be to
 define a new function to be used instead; if we don't want to make more
 magical functions!

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


More information about the wp-trac mailing list