Adds a stats sparkline to the WordPress.com admin bar
Fra og med 27.12.2016. Se den nyeste version.
Dette er versioner af dette script, hvor koden er blevet opdateret. Vis alle versioner.
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.