[wp-trac] [WordPress Trac] #46135: Add filter to disable wp_favicon_request
WordPress Trac
noreply at wordpress.org
Fri Jun 7 19:46:10 UTC 2019
#46135: Add filter to disable wp_favicon_request
-------------------------------------------------+-------------------------
Reporter: shawfactor | Owner: (none)
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting
| Review
Component: Customize | Version: 3.0
Severity: minor | Resolution:
Keywords: good-first-bug has-patch reporter- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Changes (by desrosj):
* keywords: needs-patch good-first-bug reporter-feedback => good-first-bug
has-patch reporter-feedback
* status: closed => reopened
* version: 5.0.3 => 3.0
* resolution: invalid =>
Comment:
Thanks for testing the latest patch, @shawfactor!
The ticket should remain open until it is committed to the WordPress Core
code repository.
It looks like the only thing the `wp_favicon_request()` function does is
set a `Content-Type` header if the URL being requested is
`site.com/favicon.ico` (introduced in [13205]).
Can you provide an example to help me understand how adding a filter here
would accomplish dynamically serving a favicon?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46135#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list