modo debug WP
This commit is contained in:
@@ -81,7 +81,9 @@ add_action('wp_print_scripts', 'alcastromol_dequeue_frontend_jquery', 1);
|
||||
|
||||
function alcastromol_dequeue_frontend_jquery() {
|
||||
|
||||
if (is_admin()) {
|
||||
global $pagenow;
|
||||
|
||||
if (is_admin() || in_array($pagenow, ['wp-login.php', 'wp-register.php'], true)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user