Adds a stats sparkline to the WordPress.com admin bar
Đây là phiên bản của script này, nơi mã nguồn đã được cập nhật. Hiện tất cả các phiên bản.
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.