Adds a stats sparkline to the WordPress.com admin bar
As of 27.12.2016. See апошняя версія.
These are versions of this script where the code was updated. Паказаць усе версіі.
Restore sparkline for September 2025
The element "#wp-admin-bar-blog a.ab-item" no longer exists, so the stats URL must be constructed from something else.
On normal blog pages, the script assumes that there is a site name anchor where "/home/" can be replaced with "/stats/" to get a valid stats URL.
On wp-admin pages, the URL for the Stats side nav item is used directly.
Bump to version 1.2.0
Also update copyright year to 2025.