[wp-trac] [WordPress Trac] #46135: Add filter to disable wp_favicon_request

WordPress Trac noreply at wordpress.org
Wed Jan 30 00:06:47 UTC 2019


#46135: Add filter to disable wp_favicon_request
-------------------------------------------------+-------------------------
 Reporter:  shawfactor                           |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:  5.0.3
 Severity:  minor                                |  Resolution:
 Keywords:  needs-patch good-first-bug           |     Focuses:
  reporter-feedback                              |
-------------------------------------------------+-------------------------

Comment (by shawfactor):

 Yes as I outlined on multisite you may want different favicons per site.
 You can of course do this when html is returned via a meta tag but on non
 html requests many browsers still look for a favicon.ico at the root of
 the domain.

 On multisite i would like to write a plugin to either generate the favicon
 dynamicly or redirect the request (differently depending on the site).
 Currently this is impossible due to the lack of a filter.

 Most other functions in load.php have filters to disable them, but this
 function does not.

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


More information about the wp-trac mailing list