diff --git wp-includes/load.php wp-includes/load.php
index 9d247ba..e15a766 100644
|
|
function wp_favicon_request() { |
174 | 174 | * @global int $upgrading the unix timestamp marking when upgrading WordPress began. |
175 | 175 | */ |
176 | 176 | function wp_maintenance() { |
177 | | if ( ! file_exists( ABSPATH . '.maintenance' ) || wp_installing() ) |
| 177 | if ( ( ! file_exists( ABSPATH . 'wordpress.maintenance' ) && ! file_exists( ABSPATH . '.maintenance' ) ) || wp_installing() ) |
178 | 178 | return; |
179 | 179 | |
180 | 180 | global $upgrading; |
| 181 | if ( file_exists( ABSPATH . 'wordpress.maintenance' ) ) { |
| 182 | include ( ABSPATH . 'wordpress.maintenance' ); |
| 183 | } else { |
| 184 | include ( ABSPATH . '.maintenance' ); |
| 185 | } |
181 | 186 | |
182 | | include( ABSPATH . '.maintenance' ); |
183 | 187 | // If the $upgrading timestamp is older than 10 minutes, don't die. |
184 | 188 | if ( ( time() - $upgrading ) >= 600 ) |
185 | 189 | return; |