135 | | $protocol = wp_get_server_protocol(); |
136 | | header( sprintf( '%s 500 Internal Server Error', $protocol ), true, 500 ); |
137 | | header( 'Content-Type: text/html; charset=utf-8' ); |
138 | | /* translators: 1: Current PHP version number, 2: WordPress version number, 3: Minimum required PHP version number */ |
139 | | die( sprintf( __( 'Your server is running PHP version %1$s but WordPress %2$s requires at least %3$s.' ), $php_version, $wp_version, $required_php_version ) ); |
| 136 | wp_die( |
| 137 | /* translators: 1: Current PHP version number, 2: WordPress version number, 3: Minimum required PHP version number */ |
| 138 | sprintf( __( 'Your server is running PHP version %1$s but WordPress %2$s requires at least %3$s.' ), $php_version, $wp_version, $required_php_version ), |
| 139 | __( 'Insufficient Requirements' ) |
| 140 | ); |
145 | | $protocol = wp_get_server_protocol(); |
146 | | header( sprintf( '%s 500 Internal Server Error', $protocol ), true, 500 ); |
147 | | header( 'Content-Type: text/html; charset=utf-8' ); |
148 | | die( __( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ) ); |
| 147 | wp_die( |
| 148 | __( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ), |
| 149 | __( 'Insufficient Requirements' ) |
| 150 | ); |