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 git-svn-id: https://develop.svn.wordpress.org/trunk@42988 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cf7865a91f
commit
1b598aee0d
|
@ -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';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue