Changeset 46183 for trunk/src/wp-includes/load.php
- Timestamp:
- 09/19/2019 12:01:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r46105 r46183 132 132 133 133 if ( version_compare( $required_php_version, $php_version, '>' ) ) { 134 wp_load_translations_early();135 136 134 $protocol = wp_get_server_protocol(); 137 135 header( sprintf( '%s 500 Internal Server Error', $protocol ), true, 500 ); 138 136 header( 'Content-Type: text/html; charset=utf-8' ); 139 /* translators: 1: Current PHP version number, 2: WordPress version number, 3: Minimum required PHP version number. */ 140 printf( __( 'Your server is running PHP version %1$s but WordPress %2$s requires at least %3$s.' ), $php_version, $wp_version, $required_php_version ); 137 printf( 'Your server is running PHP version %1$s but WordPress %2$s requires at least %3$s.', $php_version, $wp_version, $required_php_version ); 141 138 exit( 1 ); 142 139 }
Note: See TracChangeset
for help on using the changeset viewer.