Descrizione
Many users still browse with outdated browsers, often unaware of the risks. Upgrading ensures better security and reliability. This plugin displays a subtle notification prompting visitors to update their browser. Activate the plugin, and it works seamlessly.
WP BrowserUpdate is based on the browser-update.org detection logic. The plugin now runs independently from browser-update.org at display time: the visitor-facing notification is served from the plugin’s own bundled runtime files, so sites do not need to load scripts, styles, or default notification links from browser-update.org. browser-update.org remains the credited upstream source for the bundled detection logic, and future runtime refreshes are tracked with source URLs and hashes in the plugin assets.
Visita browserupdate.org per maggiori dettagli sul progetto upstream.
Vuoi aiutare a tradurre questo plugin? Visita il progetto di traduzione di WordPress.
Come funziona
WP BrowserUpdate bundles browser-update.org detection logic for WordPress. After activation, the plugin loads the local notification runtime from the plugin directory and passes your configured browser-version thresholds to those scripts. The notification is shown only when the bundled detection logic matches a browser to your settings.
The settings page is available under Settings > WP BrowserUpdate. You can define browser versions for every browser key supported by the bundled browser-update.org runtime, choose where the message appears and which element should contain it, enable testing mode, decide whether mobile or unsupported browsers should be notified, customize links, language and message text, and add trusted custom CSS for the notification.
Browser version fields accept major versions such as 115 and positive dotted versions such as 137.0.3912.63. Dotted versions are passed exactly to the bundled runtime instead of being reduced to their major version; exact comparison depends on the bundled browser-update.org logic and the browser key used by that runtime. A value of 0 uses the default bundled outdated-browser detection. Negative whole numbers are passed to the bundled runtime as relative offsets from the current bundled upstream version.
Microsoft Edge e Microsoft Internet Explorer ora hanno impostazioni separate.
This local runtime design avoids frontend blocking of external script URLs on sites with strict Content Security Policies or tracker blocking. WP BrowserUpdate ships only the local runtime and CSP adapter files needed by the plugin.
Avviso importante
Breaking Changes in Version 6.0
– Requires WordPress 6.0 or newer.
– Introduces a new structured settings model to support the browser-update.org customization surface used by WP BrowserUpdate.
– Moves the visitor-facing browser-update.org runtime into the plugin package so strict Content Security Policies and tracker blockers no longer need to allow scripts from browser-update.org.
– Existing WP BrowserUpdate settings from version 5.x are migrated automatically.
Modifiche incompatibili nella versione 5.0
– Richiede PHP 7.4 o versioni successive.
– Assicurati che il tuo hosting sia aggiornato a PHP 7.4 prima di passare alla versione 5.0 o successiva.
– I server con versioni precedenti di PHP non sono più supportati.
– Se il tuo server usa una versione precedente di PHP, scarica la versione 4.8.1.
Installazione
Installazione tramite la ricerca dei plugin di WordPress (consigliato)
Questo è il modo più semplice e veloce per installare il plugin:
1. Accedi alla bacheca di amministrazione di WordPress.
2. Vai a Plugin > Aggiungi nuovo.
3. Nella barra di ricerca, digita WP BrowserUpdate.
4. Individua il plugin corretto nei risultati della ricerca.
5. Fai clic su Installa ora accanto a WP BrowserUpdate.
6. Una volta installato, fai clic su Attiva per abilitare il plugin.
Installazione manuale
If you prefer to install the plugin manually via SFTP, follow these steps:
1. Download the plugin
– Download the latest version from the WordPress Plugin Directory.
2. Extract the plugin files
– Locate the downloaded ZIP file and extract it on your computer.
– You should now have a folder named wp-browser-update.
3. Upload the plugin to your website
– Connect to your website using an FTP client (e. g., FileZilla) or access the File Manager in your hosting control panel.
– Navigate to /wp-content/plugins/ in your WordPress installation directory.
– Upload the extracted wp-browser-update folder.
4. Activate the plugin
– Log in to your WordPress admin dashboard.
– Go to Plugins > Installed Plugins.
– Find WP BrowserUpdate in the list and click Activate.
Installazione tramite il pannello di amministrazione di WordPress
Se hai già scaricato il file ZIP, puoi installarlo tramite il pannello di amministrazione di WordPress:
1. Accedi alla bacheca di amministrazione di WordPress.
2. Vai a Plugin > Aggiungi nuovo.
3. Fai clic su Carica plugin nella parte superiore della pagina.
4. Fai clic su Scegli file, seleziona wp-browser-update.zip dal tuo computer e fai clic su Installa ora.
5. Al termine dell’installazione, fai clic su Attiva plugin per abilitarlo.
Recensioni
Contributi e sviluppo
“WP BrowserUpdate” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.
Collaboratori“WP BrowserUpdate” è stato tradotto in 12 lingue. Grazie a chi traduce per il contributo.
Traduci “WP BrowserUpdate” nella tua lingua.
Ti interessa lo sviluppo?
Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.
Changelog
6.0.1
- Corretto:
- Corregge le stringhe sorgente originali del plugin in en-US, così le traduzioni di WordPress.org possono fornire varianti specifiche della lingua, come en-GB.
6.0.0
- Breaking:
- Richiede WordPress 6.0 o versioni successive.
- Sostituisce l’archiviazione legacy delle impostazioni separate da spazi con l’opzione strutturata
wp_browserupdate_options. - Migra automaticamente i valori esistenti di
wp_browserupdate_browsers,wp_browserupdate_jsewp_browserupdate_css_buorg. - Rimuove la vecchia conversione delle versioni browser negative nel normale percorso di rendering; ora i valori vengono passati in modo prevedibile al runtime incluso.
- Removes developer callback settings from the admin UI and saved settings model.
- Aggiunto:
- Adds interface coverage for the browser-update.org customization options used by WP BrowserUpdate: all runtime browser keys,
reminderClosed,notify_esr,noclose,no_permanent_hide,container,url,url_permanent_hide,burl, fixed language, and text overrides.
- Adds interface coverage for the browser-update.org customization options used by WP BrowserUpdate: all runtime browser keys,
- Modificato:
- Takes the long-postponed step of making the browser-update.org integration CSP-compatible by shipping the complete runtime with the plugin, so sites on shared hosting or strict Content Security Policies no longer need to allow scripts from
browser-update.org. - Adds the required browser-update.org runtime/adapter asset files intentionally, with upstream source URLs and hashes documented for attribution and review.
- Carica i file runtime browser-update.org inclusi dalla directory del plugin tramite la coda degli script di WordPress.
- Rimuove dal frontend le richieste al runtime di browser-update.org caricando solo asset del plugin della stessa origine.
- Uses WP BrowserUpdate CSP adapter files for the notification and test-mode scripts so the runtime can avoid generated inline styles.
- Sposta la configurazione frontend di browser-update.org e gli stili di notifica in asset locali accodabili, per una migliore compatibilità con Content Security Policy più rigide.
- Usa l’API HTTP di WordPress con un elenco di host consentiti per i controlli remoti delle versioni dei browser.
- Uses the WordPress Settings API for the admin settings page.
- Divide la gestione delle impostazioni di amministrazione in passaggi più piccoli di validazione, migrazione e rendering.
- Documenta il runtime browser-update.org incluso, il caricamento locale nel frontend e il comportamento previsto per i visitatori.
- Passa al runtime incluso versioni del browser con punti come
137.0.3912.63senza ridurle alle versioni principali. - Aggiunge soglie separate per Microsoft Edge e Microsoft Internet Explorer.
- Ships only the loaded runtime/adapter files in the release package; upstream reference copies are documented by URL and hash rather than duplicated in the plugin ZIP.
- Takes the long-postponed step of making the browser-update.org integration CSP-compatible by shipping the complete runtime with the plugin, so sites on shared hosting or strict Content Security Policies no longer need to allow scripts from
- Sicurezza:
- Aggiunge una validazione più rigorosa delle impostazioni prima del salvataggio delle opzioni.
- Sanitizes custom CSS before saving and before frontend output.
- Rafforza i link di amministrazione esterni con
rel="noopener noreferrer".
5.1.1
- Aggiunto:
- Supporto per l’inserimento libero delle versioni del browser (sostituisce la selezione a discesa)
- Controllo e cache delle versioni del browser
- Filtro durata cache: aggiunto un filtro wpbu_browser_version_cache_hours per consentire agli sviluppatori di modificare la durata della cache delle versioni del browser (predefinita: 6 ore).
- Modificato:
- La pagina delle impostazioni di amministrazione segue gli standard di amministrazione di WordPress
- Struttura dei campi più pulita: markup e coerenza migliorati dei campi del modulo delle impostazioni
- Security: Improved sanitization and nonce handling for all settings fields
- Prestazioni: meno ricerche remote non necessarie all’apertura della pagina delle impostazioni di amministrazione
- Corretto:
- Ha prevenuto un errore frontend “Uncaught Error” causato da stringhe di versione del browser non valide/impreviste rafforzando il parsing e la normalizzazione delle versioni. Grazie a @danyloliptuha per la segnalazione.
5.0.0
- Breaking Changes: PHP 7.4 now required.
- Aggiornato per seguire gli standard di codifica di WordPress.
- Improved security and sanitization.
- Integrated WordPress Settings API.
- Filtri di personalizzazione aggiunti.
- Gestione di script e stili ottimizzata.
- Versioni dei browser obsolete aggiornate.
4.8.1
- Codice ottimizzato.
- Bug corretto.
- Versioni dei browser obsolete aggiornate.
4.6.1
- Due punti ridondanti rimossi.
- Versioni dei browser obsolete aggiornate.
4.6.0
- Corretta una vulnerabilità Cross Site Scripting (XSS)
- Versioni dei browser obsolete aggiornate.
4.5.0
- Corretta una vulnerabilità Cross Site Request Forgery (CSRF)
- Versioni dei browser obsolete aggiornate.
4.4.0
- URL sorgente aggiornato.
- Versioni dei browser obsolete aggiornate.
4.3.0
- Problema di attivazione del plugin corretto (grazie @Naveen).
- Versioni dei browser obsolete aggiornate.
4.0.0
- Bug corretti (grazie ai commentatori del forum).
- JavaScript aggiornato.
3.2.0
- Corretto un refuso nella versione che causava problemi al plugin.
3.1.0
- Bug corretti (grazie @tristanmason).
- Versioni dei browser obsolete aggiornate.
3.0.3
- Errore di inizializzazione corretto.
- Protocollo cambiato in HTTPS.
- Versioni dei browser obsolete aggiornate.
3.0.0
- Funzioni revisionate.
- JavaScript aggiornato.
- Versioni dei browser obsolete aggiornate.
2.4.0
- Funzioni corrette.
2.3.0
- Funzioni revisionate.
- File di traduzione aggiornati.
- Correzioni minori.
2.2.0
- Licenza cambiata in GPLv3.
- Aggiunto il text domain all’header.
- Aggiunto file POT per traduzioni più semplici.
2.1.3
- JavaScript minificato incluso.
- Correzioni minori ai messaggi di notifica.
2.1.0
- Aggiunte opzioni di personalizzazione JavaScript.
2.0.3
- Versioni dei browser obsolete aggiornate.
- Aggiunto link alle impostazioni.
- Correzioni minori.
2.0.0
- Aggiunto pannello delle impostazioni di amministrazione.
- Aggiunta funzione di disinstallazione.
1.0.0
- Versione stabile iniziale.
