IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
213 | 213 | require_once( WP_CONTENT_DIR . '/maintenance.php' ); |
214 | 214 | die(); |
215 | 215 | } |
216 | | |
| 216 | |
| 217 | require_once( ABSPATH . WPINC . '/functions.php' ); |
217 | 218 | wp_load_translations_early(); |
218 | 219 | |
219 | | $protocol = wp_get_server_protocol(); |
220 | | header( "$protocol 503 Service Unavailable", true, 503 ); |
221 | | header( 'Content-Type: text/html; charset=utf-8' ); |
222 | 220 | header( 'Retry-After: 600' ); |
223 | 221 | |
224 | | $dir_attr = ''; |
225 | | if ( is_rtl() ) { |
226 | | $dir_attr = ' dir="rtl"'; |
227 | | } |
228 | | ?> |
229 | | <!DOCTYPE html> |
230 | | <html xmlns="http://www.w3.org/1999/xhtml"<?php echo $dir_attr; ?>> |
231 | | <head> |
232 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
233 | | <title><?php _e( 'Maintenance' ); ?></title> |
| 222 | $title = __( 'Maintenance' ); |
| 223 | $message = __( 'Briefly unavailable for scheduled maintenance. Check back in a minute.' ); |
234 | 224 | |
235 | | </head> |
236 | | <body> |
237 | | <h1><?php _e( 'Briefly unavailable for scheduled maintenance. Check back in a minute.' ); ?></h1> |
238 | | </body> |
239 | | </html> |
240 | | <?php |
241 | | die(); |
| 225 | wp_die( $message, $title, 503 ); |
242 | 226 | } |
243 | 227 | |
244 | 228 | /** |