前言介紹
- 這款 WordPress 外掛「Dismiss Browser Update Nag Dashboard Widget」是 2017-11-17 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2018-06-12,距離現在已有 2517 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.2 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
luciano-croce | browser-update-nag | dismiss-browser-nag | browser-update-widget | dismiss-dashboard-widget |
內容簡介
啟用此外掛後,可以解除瀏覽器更新 nag,並從儀表板 widget 中移除它,如果該外掛位於 mu-plugins 目錄內,也可以自動完成。此外掛的開發在GitHub和Travis CI上進行。 Dismiss Browser Update Nag 是 Dismiss Gutenberg Nag 和 Dismiss Welcome Panel Nag 的最佳搭檔。並且與GlotPress Translations兼容。此外掛於2017年11月18日在外掛目錄庫中得到批准。
移除瀏覽器更新 widget,可以加速儀表板的加載和您在儀表板上的操作。
提示
一個巧妙的技巧是將此單個文件dismiss-browser-nag.php (不是其父目錄)放置在 /wp-content/mu-plugins/ 目錄中(如果不存在,請創建它)。這樣,您甚至無需啟用此外掛,它就會被自動加載,並自第一步安裝WordPress設置開始!
說明
這與其他類似的外掛不同之處在於它使用 filter hook 而不是 action hook。過濾器應該過濾信息,因此接收信息 / 數據,應用過濾器並返回信息 / 數據,然後使用它。但是,過濾器仍然是 action hook。WordPress 定義 add_filter/remove_filter 為"將函數鉤住到特定過濾器操作上",而add_action/remove_action 為"將函數鉤住到特定操作上"。
什麼是瀏覽器更新?
瀏覽器更新是一種找出最新版本的主要瀏覽器的方式,同時了解可能比您目前使用的瀏覽器更適合的替代瀏覽器:過時的瀏覽器讓電腦不安全。此功能使用 Browse Happy,這是由網絡標準專案於2004年8月創建的網站,旨在說服網絡用戶使用除 Microsoft 的 Internet Explorer 之外的網頁瀏覽器。它關注 Internet Explorer 的安全問題,並建議四個替代方案:Mozilla Firefox、Opera、Safari 和 Google Chrome。該站點的核心是收集這樣的故事:使用者已經從 Internet Explorer 切換到替代網頁瀏覽器。WordPress 自動使用這個功能,並在儀表板上顯示一個令人惱火的 widget,即使您有意為各種原因使用過時瀏覽器。
關於它
此外掛的代碼不是使用PHP框架,而是使用簡單的php編輯器手動編寫,兼容 UTF-8 without BOM和 Unix LF。為了避免代碼損壞,請勿使用WordPress嵌入式編輯器或任何不兼容規範的編輯器進行編輯。
翻譯
翻譯者:Luciano Croce
鳴謝
感謝 Andrea Gandino(andg) 的意大利翻譯批准。
感謝 Garrett Hyder 的英文(加拿大)翻譯批准。
原文外掛簡介
Dismiss Browser Update nag, dashboard widget, when it is activated, or automatically, if it is in mu-plugins directory. Development for this plugin, takes place at GitHub, and Travis CI. Dismiss Browser Update Nag is the best companion of Dismiss Gutenberg Nag and Dismiss Welcome Panel Nag. Compatible with GlotPress Translations. Plugin approved in the repository of the plugin directory on 2017-11-18
Removing browser update widget, speeds up the loading of dashboard and yours operations on it.
Tips
A neat trick, is to put this single file dismiss-browser-nag.php (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) so you won’t even have to enable it, and will be loaded by default, also, since first step installation of WordPress setup!
Explanation
This, is different from the other similar plugins, because uses the filter hook, and not the action hook. Filters should filter information, thus receiving information/data, applying the filter and returning information/data, and then used. However, filters are still action hooks. WordPress defines add_filter/remove_filter as “hooks a function to a specific filter action”, and add_action/remove_action as “hooks a function on to a specific action”.
What is Browser Update?
Browser Update is a way to find out what are the latest versions of the major browsers around, and also learn about alternative browsers that may fit even better than the one are currently using: an outdated browser makes computer unsafe. This function use Browse Happy, a website created by the Web Standards Project in August 2004, to convince internet users to use a web browser other than Microsoft’s Internet Explorer. It focuses on security issues in Internet Explorer and suggests four alternatives: Mozilla Firefox, Opera, Safari and Google Chrome. The core of the site is a collection of stories of people who have switched from Internet Explorer to alternative web browsers. WordPress automatically implements this feature with an annoying widget that is displayed on the dashboard without administrator control, even when you consciously use an out-of-date browser for the most varied reasons.
About it
The code of this plugin, is not written with a php framework, but with a simple php editor, manually, compatible UTF-8 without BOM, and Unix LF. To avoid code corruption, do not edit it with WordPress embedded editor, or with any specifications incompatible editor.
Translation
Translated by: Luciano Croce
Acknowledgements
Thanks to Andrea Gandino (andg) for Italian translation approval.
Thanks to Garrett Hyder for English (Canada) translation approval.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Dismiss Browser Update Nag Dashboard Widget」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Dismiss Gutenberg Nag 》="ugc">Dismiss Gutenberg Nag 是一個 WordPress 外掛,啟用時可以隱藏與新版 WordPress 編輯器 Guttenberg 有關的提示。如果該外掛在 mu-plugins 目錄中啟用...。
Dismiss Welcome Panel Nag Dashboard Widget 》啟用此外掛後,Dismiss Welcome Panel nag 可以自動關閉儀表板小工具,或在 mu-plugins 目錄中發現時自動關閉。這個外掛的開發在 GitHub 和 Travis CI 上進行...。
Dismiss Core Update Nag Dashboard Widget 》在儀表板上消除「核心更新」提醒,在管理選單上消除「指標」,在管理列或工具列上消除「維護模式」,如果在 mu-plugins 目錄中啟用,則自動消除。, 提示, 一...。
Dismiss Privacy Tools 》當啟用時,禁用並刪除隱私工具(從版本4.9.6開始 — 完全關閉 GDPR),並將選項重置為預設值,或者如果它位於mu-plugins目錄中。, 開發在GitHub和Travis...。
Dismiss Privacy Nag 》Dismiss Privacy Pointer Nag(4.9.6 版本中新增 — 部分 GDPR OFF)和管理通知,啟用時,或者如果它位於 mu-plugins 目錄中則不顯示。, 開發位於GitHub...。
Admin Footer Version (rebranded) 》版權說明:本 WordPress 外掛用於管理後台,用戶可設定顯示客製化版本號碼。 根據 GNU 通用公共許可證,本程式是"依據現狀"基礎提供,沒有任何明示或暗示的擔...。
Dismiss WSoD Protection 》啟用這個外掛時,解除即將推出的 "WSoD"(白屏死亡)保護功能,或如果它在 mu-plugins 目錄中,也會解除保護。, 開發在 GitHub 和 Travis CI 上進行。, 與 Gl...。
Dismiss Serve Happy Nag 》當啟用了這個外掛或者它在 mu-plugins 目錄中,這個外掛會自動移除"即將推出"的 "Serve Happy" 煩人提醒 PHP 儀表板小工具。, , 這個外掛使用語意化版本號碼...。