Skip to content

GlotPress Stats 0.8

Latest

Choose a tag to compare

@manuelstone manuelstone released this 30 Oct 09:55
· 17 commits to master since this release

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-table and glotpress-stats-overview ids, so existing custom CSS still applies.
  • The data-slug attribute of the table rows is escaped.
  • DataTables is registered with its real version, 2.3.8.

Changed

  • CSS and JavaScript files moved from assets/ and vendor/ to resources/. 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.