Correct the error message displayed on setup when `wp-config-sample.php` does not exist.

Props bradparbs.
Fixes #23247.
Built from https://develop.svn.wordpress.org/trunk@35143


git-svn-id: http://core.svn.wordpress.org/trunk@35109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-10-13 17:36:25 +00:00
parent a0bbd154d9
commit 4ef12c7814
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ if ( file_exists( ABSPATH . 'wp-config-sample.php' ) )
elseif ( file_exists( dirname( ABSPATH ) . '/wp-config-sample.php' ) )
$config_file = file( dirname( ABSPATH ) . '/wp-config-sample.php' );
else
wp_die( __( 'Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your WordPress installation.' ) );
wp_die( __( 'Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file to your WordPress installation.' ) );
// Check if wp-config.php has been created
if ( file_exists( ABSPATH . 'wp-config.php' ) )

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-35142';
$wp_version = '4.4-alpha-35143';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.