mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
a0bbd154d9
commit
4ef12c7814
@ -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' ) )
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user