Ticket #57134: 57134-suggestion.patch
File 57134-suggestion.patch, 429 bytes (added by , 2 years ago) |
---|
-
src/wp-includes/load.php
diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index 52453802c0..0b260aa338 100644
a b function wp_maintenance() { 270 270 } 271 271 272 272 if ( file_exists( WP_CONTENT_DIR . '/maintenance.php' ) ) { 273 status_header( 503 ); 274 nocache_headers(); 275 header( 'Retry-After: 600' ); 276 273 277 require_once WP_CONTENT_DIR . '/maintenance.php'; 274 278 die(); 275 279 }