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

WordPress Trac noreply at wordpress.org
Sun Mar 3 00:23:31 UTC 2019


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

Comment (by shawfactor):

 I think simply a filter to disable IE prevent the function doing anything
 would be best for two reasons:

 1. It would be consistent with other functions in the same file

 2. Any handling of the url could be then left to a plugin or theme using
 later hooks.


 Replying to [comment:5 andraganescu]:
 > Welcome @shawfactor, how do you imagine this would be more useful:
 >
 > - simply applying a filter to disable the function
 > - applying a filter to set a specific header, other than the default
 then exit OR doing nothing if the filter returns false
 >

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


More information about the wp-trac mailing list