Dashboad login slow due to CONCATENATE_SCRIPTS
I have noticed a site always has a style not loading completely problem when logged in for a long time. It would be alright after refreshing.
It’s easy to guess that something triggered the limit, but after the refresh it had cached some resources, so it was normal.
I take a quick look at the network panel, there are a lot of scripts loading separately, but I haven’t set define(‘CONCATENATE_SCRIPTS’, false); in wp-config.php .
After some disabling plugins and troubleshooting I found:
/**
* Due to bugs in the 5.5 core release concatenate scripts is causing errors.
*
* Because of this we disable it.
*
* @return void
*/
public function disable_concatenate_scripts() {
global $concatenate_scripts;
$concatenate_scripts = false;
}
in wordpress-seo/src/integrations/admin/diable-concatenate-scripts-integration.php .
Please take a look at whether this temporary fix still needs to be retained.
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس