跳到内容

Dismiss Browser Update Nag Dashboard Widget

v1.0.1

luciano-croce · 2017年11月18日 上架

dismiss browser update nag dashboard widget when it is activated or if it is in mu-plugins directory

正在使用
10+
评分
暂无
累计下载
2,020
最近更新
2018年6月13日
需要 WordPress 3.2+已测试到 5.0.32PHP 5.2.4+

贡献者

截图

Dashboard Widget Enabled ~ Screenshot 1 of 4
Dashboard Widget Enabled ~ Screenshot 1 of 4
Dashboard Widget Disabled ~ Screenshot 2 of 4
Dashboard Widget Disabled ~ Screenshot 2 of 4
As single Plugin Enabled ~ Screenshot 3 of 4
As single Plugin Enabled ~ Screenshot 3 of 4
As mu-plugins Enabled ~ Screenshot 4 of 4
As mu-plugins Enabled ~ Screenshot 4 of 4

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums