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:
parent
fbb51eafb0
commit
ea8052df59
|
@ -608,7 +608,6 @@ function wp_not_installed() {
|
||||||
|
|
||||||
require( ABSPATH . WPINC . '/kses.php' );
|
require( ABSPATH . WPINC . '/kses.php' );
|
||||||
require( ABSPATH . WPINC . '/pluggable.php' );
|
require( ABSPATH . WPINC . '/pluggable.php' );
|
||||||
require( ABSPATH . WPINC . '/formatting.php' );
|
|
||||||
|
|
||||||
$link = wp_guess_url() . '/wp-admin/install.php';
|
$link = wp_guess_url() . '/wp-admin/install.php';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue