X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/8f374b7233bc2815ccc387e448d208c5434eb961..refs/tags/wordpress-3.5.2-scripts:/wp-load.php
diff --git a/wp-load.php b/wp-load.php
index 600805a2..983558ab 100644
--- a/wp-load.php
+++ b/wp-load.php
@@ -48,14 +48,16 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) {
require_once( ABSPATH . WPINC . '/load.php' );
require_once( ABSPATH . WPINC . '/version.php' );
- wp_load_translations_early();
wp_check_php_mysql_versions();
+ wp_load_translations_early();
+
+ require_once( ABSPATH . WPINC . '/functions.php' );
// Die with an error message
$die = __( "There doesn't seem to be a wp-config.php
file. I need this before we can get started." ) . '
' . __( "Need more help? We got it." ) . '
'; $die .= '' . __( "You can create a wp-config.php
file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ) . '
' . __( "Create a Configuration File" ) . ''; + $die .= '
' . __( "Create a Configuration File" ) . ''; wp_die( $die, __( 'WordPress › Error' ) ); }