Open chuckadams opened 1 month ago
The Browse Happy API—which detects a browser via user-agent string and determines and returns some basic information about certain browsers, including if it needs an update or is insecure—is developed as a separate project. This API is used by the WordPress.org software for the admin dashboard widget that alerts a user if they are using an outdated or insecure browser.
The code for that project can be found at https://meta.svn.wordpress.org/sites/trunk/api.wordpress.org/public_html/core/browse-happy/ and here https://github.com/WordPress/browsehappy.
WordPress.org core tract has a "Browse Happy" component at https://meta.trac.wordpress.org/
Actually I'm not sure if the separate browsehappy project is used, the endpoint appears to be pretty well contained here: https://github.com/WordPress/wordpress.org/blob/e5a07055d2ddf239cc20f752bc182bed70a15d5f/api.wordpress.org/public_html/core/browse-happy/1.0/index.php
Whatever the gosh-darn heck this endpoint actually does, let's do it too