Ticket #25861: favicon_request.diff
| File favicon_request.diff, 470 bytes (added by , 12 years ago) |
|---|
-
wp-includes/load.php
diff --git a/wp-includes/load.php b/wp-includes/load.php index e589f5f..b27f8e9 100644
a b function wp_check_php_mysql_versions() { 120 120 * @since 3.0.0 121 121 */ 122 122 function wp_favicon_request() { 123 if ( '/favicon.ico' == $_SERVER['REQUEST_URI']) {123 if ( '/favicon.ico' == substr($_SERVER['REQUEST_URI'], -12) ) { 124 124 header('Content-Type: image/vnd.microsoft.icon'); 125 125 header('Content-Length: 0'); 126 126 exit;