]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-load.php
WordPress 3.5.1-scripts
[autoinstalls/wordpress.git] / wp-load.php
index 600805a2d14019a5041f63db4765273e02b6726e..983558abd1db81fc7dca08a4e1e579f0ce98a061 100644 (file)
@@ -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 <code>wp-config.php</code> file. I need this before we can get started." ) . '</p>';
        $die .= '<p>' . __( "Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>." ) . '</p>';
        $die .= '<p>' . __( "You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ) . '</p>';
-       $die .= '<p><a href="' . $path . '" class="button">' . __( "Create a Configuration File" ) . '</a>';
+       $die .= '<p><a href="' . $path . '" class="button button-large">' . __( "Create a Configuration File" ) . '</a>';
 
        wp_die( $die, __( 'WordPress &rsaquo; Error' ) );
 }