[wp-trac] [WordPress Trac] #48493: avatar_url has been removed from post authors on the posts endpoint, even with _embed=1

WordPress Trac noreply at wordpress.org
Mon Nov 4 15:40:19 UTC 2019


#48493: avatar_url has been removed from post authors on the posts endpoint, even
with _embed=1
--------------------------+----------------------
 Reporter:  cwiglar       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by earnjam):

 * status:  new => closed
 * resolution:   => invalid
 * severity:  major => normal
 * milestone:  Awaiting Review =>


Comment:

 Hey @cwiglar, welcome to WordPress Trac. This is a question you need to
 ask over on WordPress.com, as their API is customized from what ships with
 WordPress by default.

 WordPress Core still returns the `avatar_urls` property. You can see this
 on WordPress.org, where we use the latest core build:
 https://make.wordpress.org/core/wp-json/wp/v2/posts?_embed=1

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


More information about the wp-trac mailing list