Ticket #3426: 3426-4.patch
File 3426-4.patch, 728 bytes (added by , 15 years ago) |
---|
-
wp-settings.php
132 132 if ( !defined('WP_CONTENT_DIR') ) 133 133 define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down 134 134 135 // Special case for missing favicon 136 if ( '/favicon.ico' == $_SERVER['REQUEST_URI'] ) { 137 header('Content-Type: image/vnd.microsoft.icon'); 138 header('Content-Length: 0'); 139 exit; 140 } 141 135 142 if ( file_exists(ABSPATH . '.maintenance') && !defined('WP_INSTALLING') ) { 136 143 include(ABSPATH . '.maintenance'); 137 144 // If the $upgrading timestamp is older than 10 minutes, don't die.