外掛說明
許多使用者仍在使用過期的瀏覽器,而沒有注意到這當中的風險。升級瀏覽器可以確保更高的安全性及可靠性,這個外掛會顯示提醒網站訪客更新瀏覽器的通知,啟用外掛後便會開始執行。
請造訪 browserupdate.org 以進一步了解相關資訊。
如果想要將這個外掛的介面本地化為你的母語版本,請造訪 WordPress 本地化專案頁面。
重要注意事項
Breaking Changes in Version 5.0.0
– Requires PHP 7.4 or newer.
– Ensure your hosting is updated to PHP 7.4 before upgrading to version 5.0.0 or newer.
– Servers running older PHP versions are no longer supported.
– If your server is running an earlier PHP version, please download version 4.8.1.
安裝方式
透過 WordPress 外掛搜尋安裝 (推薦)
這是最簡單快速的外掛安裝方式:
1. 登入 WordPress 網站的管理後台。
2. 前往 [外掛]→[安裝外掛]。
3. 在搜尋框中輸入「WP BrowserUpdate」。
4. 在搜尋結果中找到正確的外掛。
5. 點擊外掛名稱旁的 [立即安裝]。
6. 安裝成功後,點擊 [啟用] 便能啟用外掛。
手動安裝
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.
透過 WordPress 管理面板安裝
如果已下載外掛安裝套件 ZIP 壓縮檔,網站管理員可以透過 WordPress 管理後台安裝外掛:
1. 登入 WordPress 網站管理後台。
2. 前往 [外掛]→[安裝外掛]。
3. 在頁面頂端點擊 [上傳外掛]。
4. 點擊 [選擇檔案],然後在個人裝置上選取 wp-browser-update.zip,並點擊 [立即安裝]。
5. 安裝成功後,點擊 [啟用] 便能啟用外掛。
使用者評論
參與者及開發者
變更記錄
5.1.1
- Added:
- Support for free-text input of browser versions (replaces dropdown selection)
- Browser version check and caching
- Cache duration filter: Added a wpbu_browser_version_cache_hours filter to allow developers to adjust the browser version cache duration (default: 6 hours).
- Changed:
- Admin settings page follows WordPress admin standards
- Cleaner field structure: Improved markup and consistency of settings form fields
- Security: Improved sanitization and nonce handling for all settings fields
- Performance: Fewer unnecessary remote lookups when opening the admin settings page
- Fixed:
- Prevented a frontend “Uncaught Error” caused by invalid/unexpected browser version strings by hardening version parsing and normalization. Thanks to @danyloliptuha for pointing out.
5.0.0
- Breaking Changes: PHP 7.4 now required.
- Updated to follow WordPress Coding Standards.
- Improved security and sanitization.
- Integrated WordPress Settings API.
- Added customization filters.
- Optimized script and style handling.
- Updated outdated browser versions.
4.8.1
- Optimized code.
- Fixed bug.
- Updated outdated browser versions.
4.6.1
- Removed redundant colons.
- Updated outdated browser versions.
4.6.0
- Fixed Cross-Site Scripting (XSS) vulnerability.
- Updated outdated browser versions.
4.5.0
- Fixed Cross-Site Request Forgery (CSRF) vulnerability.
- Updated outdated browser versions.
4.4.0
- Updated source URL.
- Updated outdated browser versions.
4.3.0
- Fixed plugin activation issue (thanks @Naveen).
- Updated outdated browser versions.
4.0.0
- Fixed bugs (thanks to forum commenters).
- Updated JavaScript.
3.2.0
- Corrected version typo causing plugin issues.
3.1.0
- Fixed bugs (thanks @tristanmason).
- Updated outdated browser versions.
3.0.3
- Fixed initialization error.
- Changed protocol to HTTPS.
- Updated outdated browser versions.
3.0.0
- Overhauled functions.
- Updated JavaScript.
- Updated outdated browser versions.
2.4.0
- Fixed functions.
2.3.0
- Overhauled functions.
- Updated translation files.
- Minor fixes.
2.2.0
- Changed license to GPLv3.
- Added text domain to header.
- Added POT file for easier translations.
2.1.3
- Included minified JavaScript.
- Minor fixes to notification messages.
2.1.0
- Added JavaScript customization options.
2.0.3
- Updated outdated browser versions.
- Added settings link.
- Minor fixes.
2.0.0
- Added admin settings panel.
- Added uninstall function.
1.0.0
- Initial stable version.
