Changeset 21715
- Timestamp:
- 09/04/2012 02:38:37 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/setup-config.php
r20661 r21715 45 45 require(ABSPATH . WPINC . '/version.php'); 46 46 47 // Also loads functions.php, plugin.php, l10n.php, pomo/mo.php (all required by setup-config.php)48 wp_load_translations_early();49 50 47 // Check for the required PHP version and for the MySQL extension or a database drop-in. 51 48 wp_check_php_mysql_versions(); 49 50 require_once(ABSPATH . WPINC . '/functions.php'); 51 52 // Also loads plugin.php, l10n.php, pomo/mo.php (all required by setup-config.php) 53 wp_load_translations_early(); 52 54 53 55 // Turn register_globals off. -
trunk/wp-includes/load.php
r21693 r21715 106 106 if ( version_compare( $required_php_version, $php_version, '>' ) ) { 107 107 wp_load_translations_early(); 108 wp_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 ) );108 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 ) ); 109 109 } 110 110 111 111 if ( ! extension_loaded( 'mysql' ) && ! file_exists( WP_CONTENT_DIR . '/db.php' ) ) { 112 112 wp_load_translations_early(); 113 wp_die( __( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ) );113 die( __( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ) ); 114 114 } 115 115 } … … 710 710 711 711 // General libraries 712 require_once ABSPATH . WPINC . '/functions.php';713 712 require_once ABSPATH . WPINC . '/plugin.php'; 714 713 -
trunk/wp-load.php
r20561 r21715 49 49 require_once( ABSPATH . WPINC . '/version.php' ); 50 50 51 wp_check_php_mysql_versions(); 51 52 wp_load_translations_early(); 52 wp_check_php_mysql_versions(); 53 54 require_once( ABSPATH . WPINC . '/functions.php' ); 53 55 54 56 // Die with an error message
Note: See TracChangeset
for help on using the changeset viewer.