Update fediverso-box.php

This commit is contained in:
emanuelegori 2025-12-08 20:03:48 +01:00
parent 5d89388f18
commit 6d891f520d
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ Text Domain: fediverso-box
if (!defined('ABSPATH')) exit; if (!defined('ABSPATH')) exit;
// FLAG DEBUG: Cambia a true per attivare i log in console // FLAG DEBUG: Cambia a true per attivare i log in console
define('FEDIVERSO_BOX_DEBUG', false); define('FEDIVERSO_BOX_DEBUG', false);
// Carica solo il CSS // Carica solo il CSS
@ -68,7 +68,7 @@ add_action('wp_footer', function() {
var input = document.getElementById('fediUserInput'); var input = document.getElementById('fediUserInput');
if (!form || !input) { if (!form || !input) {
warn('⚠️ Fediverso Box: elementi non trovati'); warn('Fediverso Box: elementi non trovati');
return; return;
} }
@ -98,7 +98,7 @@ add_action('wp_footer', function() {
return false; return false;
}; };
log('Fediverso Box inizializzata'); log('Fediverso Box inizializzata');
}; };
if (document.readyState === 'loading') { if (document.readyState === 'loading') {