correcion de log de error en admin

This commit is contained in:
2026-09-28 11:50:00 -06:00
parent 6076d7f278
commit 7a16a09714
2 changed files with 107 additions and 1 deletions
@@ -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;
}