-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REST API: Add the missing 'site_icon_url' to the index #3157
REST API: Add the missing 'site_icon_url' to the index #3157
Conversation
Thank you very much, @Mamaduka! 🙌 Some unit tests are failing; apparently, Furthermore, I've glanced over WordPress/gutenberg#42957 and WordPress/gutenberg#43514. I'm not entirely sure about the conclusion -- it seems like we won't need |
I am running a PHP test suite to regenerate fixtures, and I will push the fix shortly.
We decided to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @Mamaduka 🚀
May make sense to move this logic into |
Thanks for the suggestion, @TimothyBJacobs. I've updated the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Re-approving the updated PR.)
Thanks for the PR! Merged in r54083. |
Backports changes from WordPress/gutenberg#42957.
The site_icon_url index was supposed to ship with WP 5.6 but was never backported into the core - WordPress/gutenberg#22952.
I also created an alternative PR to use the existing
site_icon
index, but later @TimothyBJacobs pointed out thatsite_icon_url
is preferable since it can be filtered - WordPress/gutenberg#43514 (comment).Gutenberg tracking issue: WordPress/gutenberg#43440
Trac ticket: https://core.trac.wordpress.org/ticket/56467
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.