Upgrade/Install: Don't include wp-includes/formatting.php twice during installation.

This avoids a fatal error caused by function redeclaration.

Props ocean90, kkarpieszuk

Fixes #43609

Built from https://develop.svn.wordpress.org/trunk@42988


git-svn-id: http://core.svn.wordpress.org/trunk@42817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2018-04-18 23:54:20 +00:00
parent fbb51eafb0
commit ea8052df59
2 changed files with 1 additions and 2 deletions

View File

@ -608,7 +608,6 @@ function wp_not_installed() {
require( ABSPATH . WPINC . '/kses.php' );
require( ABSPATH . WPINC . '/pluggable.php' );
require( ABSPATH . WPINC . '/formatting.php' );
$link = wp_guess_url() . '/wp-admin/install.php';

View File

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