We'll create fresh WordPress site with Dismiss Browser Update Nag Dashboard Widget installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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.
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!
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”.
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.
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.
Translated by: Luciano Croce
Thanks to Andrea Gandino (andg) for Italian translation approval.
Thanks to Garrett Hyder for English (Canada) translation approval.