Skip to content

Commit

Permalink
修复:精简版判断新增 WP_INSTALLING 条件
Browse files Browse the repository at this point in the history
  • Loading branch information
swling committed Aug 9, 2023
1 parent 553c393 commit 604f961
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion accelerator/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
require ABSPATH . 'wp-includes/version.php';
global $wp_version;

if ('6.3' == $wp_version) {
// 升级或安装中
$installing = defined('WP_INSTALLING') && WP_INSTALLING;

if ('6.3' == $wp_version and !$installing) {
require __DIR__ . '/wp-settings.php';
} else {
require ABSPATH . 'wp-settings.php';
Expand Down

0 comments on commit 604f961

Please sign in to comment.