[wordpress插件] Dismiss Browser Update Nag Dashboard Widget关闭浏览器更新Nag仪表板小部件

wordpress 插件 文章 2020-04-19 04:00 599 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Dismiss Browser Update nag, dashboard widget, when it is activated, or automatically, if it is in mu-plugins directory.

在激活时关闭浏览器更新 nag,仪表板小部件,如果在mu-plugins目录中,则自动关闭。

Development for this plugin, takes place at GitHub, and GitHub

https://travis-ci.org/luciano-croce/dismiss-browser-nag/" rel="nofollow">Travis CI.

https://travis-ci.org/luciano-croce/dismiss-browser-nag/“ rel =” nofollow“>特拉维斯CI 。

Dismiss Browser Update Nag is the best companion of 关闭浏览器更新Nag

/dismiss-gutenberg-nag/">Dismiss Gutenberg Nag and Dismiss Welcome Panel Nag.

/ dismiss-gutenberg-nag /“>关闭Gutenberg Nag 和关闭“欢迎面板”

Compatible with GlotPress Translations.

GlotPress翻译兼容。

Plugin approved in the repository of the plugin directory on 2017-11-18

插件已在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

一个巧妙的技巧是将单个文件dismiss-browser-nag.php(而不是其父目录)放在/ wp-content / mu-plugins /目录中(如果不存在则创建它),因此您不会

even have to enable it, and will be loaded by default, also, since first step installation of WordPress setup!

自从第一步安装WordPress安装程序以来,甚至都必须启用它,并且默认情况下也会将其加载!

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_filteremove_filter as “hooks a function to a specific filter action”, and add_actionemove_action as “hooks a function on to a specific action”.

WordPress将add_filter / remove_filter定义为“将函数绑定到特定的过滤器动作”,将add_action / remove_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

此功能使用浏览快乐(由Web标准项目于2004年8月创建的网站)说服互联网用户使用网络

browser other than Microsoft's Internet Explorer.

Microsoft Internet Explorer以外的浏览器。

It focuses on security issues in Internet Explorer and suggests four alternatives: Mozilla Firefox, Opera, Safari and Google Chrome.

它着重于Internet Explorer中的安全性问题,并提出了四种替代方案:Mozilla Firefox,Opera,Safari和Google Chrome。

The core of the site is a collection of stories of people who have switched from Internet Explorer to alternative web browsers.

该网站的核心是从Internet Explorer切换到其他Web浏览器的人们的故事的集合。

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.

WordPress会自动使用恼人的窗口小部件自动实现此功能,即使您出于各种原因有意识地使用过时的浏览器,该窗口小部件也无需管理员控制即可显示在仪表板上。

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.

此插件的代码不是使用php框架编写的,而是使用简单的php编辑器,手动,兼容的UTF-8(不带BOM)和Unix LF编写的。

To avoid code corruption, do not edit it with WordPress embedded editor, or with any specifications incompatible editor.

为避免代码损坏,请勿使用WordPress嵌入式编辑器或任何不兼容规范的编辑器对其进行编辑。

Translation

翻译

Translated by: Luciano Croce

译者:卢西亚诺·克罗齐

Acknowledgements

致谢

Thanks to Andrea Gandino (andg) for Andrea Gandino(andg)用于

wordpress.org/locale/it/default/wp-plugins/dismiss-browser-nag" rel="nofollow">Italian translation approval.

wordpress.org/locale/it/default/wp-plugins/dismiss-browser-nag“ rel =” nofollow“>意大利语翻译批准。

Thanks to Garrett Hyder for Garrett Hyder 对于

.org/locale/en-ca/default/wp-plugins/dismiss-browser-nag" rel="nofollow">English (Canada) translation approval.

.org / locale / en-ca / default / wp-plugins / dismiss-browser-nag“ rel =” nofollow“>英语(加拿大)翻译批准。

下载地址
https://downloads.wordpress.org/plugin/dismiss-browser-nag.zip
-EOF-

AI助手支持GPT4.0