[wp-trac] [WordPress Trac] #52321: Add site icon to rest index

WordPress Trac noreply at wordpress.org
Thu Oct 14 16:51:06 UTC 2021


#52321: Add site icon to rest index
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.9
Component:  REST API                             |     Version:  4.4
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:
  tests needs-refresh                            |
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 This ticket was discussed in this week's REST API core meeting.

 It was decided that the patch needs to be refreshed to be inline with
 changes in REST API.

 There is current a [https://github.com/WordPress/wordpress-
 develop/blob/3478f645bcef0402fc301ee45277c4fff0662f4c/src/wp-includes
 /rest-api/class-wp-rest-server.php#L1284-L1296 add_site_logo_to_index]
 method, that add site logo to the rest api. This ticket should follow this
 pattern and add a data for a link.

 I know there is a patch @palmiak, I wonder if he update be willing to
 update his ticket with this feedback.

 If not, willing to take a look at this myself.

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


More information about the wp-trac mailing list