Make WordPress Core

Ticket #3426: 3426-4.patch

File 3426-4.patch, 728 bytes (added by azaozz, 15 years ago)
  • wp-settings.php

     
    132132if ( !defined('WP_CONTENT_DIR') )
    133133        define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down
    134134
     135// Special case for missing favicon
     136if ( '/favicon.ico' == $_SERVER['REQUEST_URI'] ) {
     137        header('Content-Type: image/vnd.microsoft.icon');
     138        header('Content-Length: 0');
     139        exit;
     140}
     141
    135142if ( file_exists(ABSPATH . '.maintenance') && !defined('WP_INSTALLING') ) {
    136143        include(ABSPATH . '.maintenance');
    137144        // If the $upgrading timestamp is older than 10 minutes, don't die.