luciano-croce / dismiss-browser-nag

Dismiss "Browser Update" nag, dashboard widget, when it is activated, or automatically, if it is in mu-plugins directory. This is not a replacement but just a tool for those who need it.

Home Page:https://wordpress.org/plugins/dismiss-browser-nag/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dismiss Browser Nag

Build Status

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

  • 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.
  • 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".
  • The code of this plugin, is not written with a php framework, but with a simple php editor, manually.

About

Dismiss "Browser Update" nag, dashboard widget, when it is activated, or automatically, if it is in mu-plugins directory. This is not a replacement but just a tool for those who need it.

https://wordpress.org/plugins/dismiss-browser-nag/

License:GNU General Public License v2.0


Languages

Language:PHP 99.8%Language:Modelica 0.2%