Repository navigation
Bug fixes for the translator views of the [glotstats] shortcode.
Fixed
- Fetch errors are shown. When translate.wordpress.org can't be reached or returns an unexpected page, the shortcode shows an error message instead of an empty page.
- Top 100 and Top 200 progress counts. They counted 101 and 201 projects.
- Several shortcodes on the same page. The JavaScript no longer fails, and each table keeps its own DataTables texts (for example, "plugins" and "themes"). The first table keeps the
stats-tableandglotpress-stats-overviewids, so existing custom CSS still applies. - The
data-slugattribute of the table rows is escaped. - DataTables is registered with its real version, 2.3.8.
Changed
- CSS and JavaScript files moved from
assets/andvendor/toresources/. Asset versions bumped to 0.8 so browsers load the new script. - DataTables is now installed with Composer; the shipped files are the same code as before.
- The code follows the WordPress Coding Standards.
Install
Download glotpress-stats-0.8.zip below and upload it in Plugins > Add New > Upload Plugin, or replace the glotpress-stats folder of the previous version.