Download the PHP package wildwolf/wp-disable-browse-happy without Composer
On this page you can find all versions of the php package wildwolf/wp-disable-browse-happy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wildwolf/wp-disable-browse-happy
More information about wildwolf/wp-disable-browse-happy
Files in wildwolf/wp-disable-browse-happy
Package wp-disable-browse-happy
Short Description WordPress plugin to disable calls to the BrowseHappy API
License MIT
Homepage https://github.com/sjinks/disable-browse-happy
Informations about the package wp-disable-browse-happy
wp-disable-browse-happy
WordPress plugin to disable queries to BrowseHappy API (for example, for privacy reasons).
When you go to the Admin Dashboard of your WordPress site, WP checks whether your browser is up-to-date, and displays a notice if it is not (i.e., "You are using an insecure browser!" or "Your browser is out of date!").
This is probably not a bad thing, but:
- It could be annoying for Linux users (they may have a browser with all security patches backported yet its version will not be the latest)
wp_check_browser_version()
function, which implements the check, does that with a call tohttp://api.wordpress.org/core/browse-happy/1.1/
(orhttps://
if the SSL support is enabled):
You can see that this code sends your user agent string, WordPress version, and the URL and IP address (implicitly) of the blog. Strictly speaking, it is enough to send only the user agent to check whether the browser is up-to-date, the rest of the information is not necessary.
WordPess plugin guidelines say that "In the interest of protecting user privacy, plugins may not contact external servers without the explicit consent of the user".
I think that the same should apply to the WP Core itself; since WP "leaks the data" by default, and there is no way to opt out of that in the UI, you can use this plugin to turn off that functionality.
Installation
Via composer
Run from WordPress root directory
Traditional way
Upload the plugin to wp-content/plugins/
, go to the Admin Dashboard => Plugins and activate the plugin.
Note: after you install and activate the plugin, it is possible that you still see the warning in the Dashboard. This happens because WP caches the check result for some time. You can either wait until it goes away, or, if you have WP-CLI, you can run this from your WP root directory: