home
This commit is contained in:
@@ -83,7 +83,8 @@ function alcastromol_dequeue_frontend_jquery() {
|
||||
|
||||
global $pagenow;
|
||||
|
||||
if (is_admin() || in_array($pagenow, ['wp-login.php', 'wp-register.php'], true)) {
|
||||
// El iframe del Customizer es front, pero sus scripts dependen de jQuery.
|
||||
if (is_admin() || is_customize_preview() || in_array($pagenow, ['wp-login.php', 'wp-register.php'], true)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user