[wp-trac] [WordPress Trac] #36030: Expose site icon on wp.getUsersBlogs

WordPress Trac noreply at wordpress.org
Tue Mar 1 09:06:48 UTC 2016


#36030: Expose site icon on  wp.getUsersBlogs
--------------------------+-----------------------------
 Reporter:  daniloercoli  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XML-RPC       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 WordPress 4.3 has added the ability for site owners to manage their site’s
 favicon, but never exposed it over the XML-RPC protocol.

 It's useful for XML-RPC clients to receive it back in the response of
 wp.getUsersBlogs, so they can show the proper icon beside the name of the
 site.

 In the patch I've provided an empty value is returned if site_icon is not
 set on the blog. I've avoided returning a default value, since it's better
 to leave this responsibility to clients. If siteIcon is empty, the client
 should show their default icon, or nothing.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36030>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list