[wp-trac] [WordPress Trac] #3426: Should include default favicon

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 21 20:31:50 UTC 2009


#3426: Should include default favicon
-----------------------------+----------------------------------------------
 Reporter:  robertaccettura  |        Owner:  cpoteet 
     Type:  feature request  |       Status:  reopened
 Priority:  normal           |    Milestone:  2.9     
Component:  Performance      |      Version:  2.8     
 Severity:  normal           |   Resolution:          
 Keywords:  needs-patch      |  
-----------------------------+----------------------------------------------

Comment(by azaozz):

 Another possible solution would be to intercept requests for favicon.ico
 very early, perhaps near the top of wp-settings.php and output something
 like:
 {{{
 if ( preg_match('/favicon.ico$/i', $_SERVER['REQUEST_URI']) ) {
     header( 'Content-Type: image/x-icon' );
     header( 'Content-Length: 0' );
     exit;
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/3426#comment:33>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list