Releases: LW-IT-Solutions/Stats4U-Wordpress
Releases · LW-IT-Solutions/Stats4U-Wordpress
Release list
v1.6.0
Changes requested by the wordpress.org plugin review.
- Escaping at output: every value is now escaped right where it is printed. The counter below or inside your theme's footer is put in place by an output buffer callback; the plugin no longer re-prints the page itself.
- Error messages about a pasted code and the menu title are escaped.
- The small images on the settings page go through
wp_kses()with a fixed allowlist. - The settings page remembers "wizard" or "custom configuration" only when you choose it on the page itself.
- Translations now come from translate.wordpress.org instead of files bundled with the plugin. Until your language is complete there, the settings page is in English. The existing translations for 18 languages are in
translations/in this repository. - readme: the script is cached for an hour, not a week.
Your settings are kept. The counter looks and sits exactly as before.
Install: download stats4u.zip below, then Plugins → Add New → Upload Plugin.
v1.5.0
Stats4U Visitor Counter 1.5.0
The counter now runs on the official Stats4U script (s4u.js), and the settings page is new from the ground up.
New
- Wizard or custom configuration: on your first visit, pick a wizard that walks you through counter, appearance, placement and consent one step at a time, or the custom configuration with every setting sorted in a menu. You can restart the wizard at any time.
- Request a new counter number: one click gets a free number from stats4u.net, in the design you have set.
- Feedback form: tell us what is missing or not working, right from the settings page. Your site address and counter number are sent only if you tick the box.
- Full counter code on the settings page, ready to copy or change, plus the line for theme templates:
<?php echo do_shortcode( '[stats4u]' ); ?>
Changed
- The counter is now the official
s4u.jswith every setting from the creator, not just the counter image. Your statistics get the page and referrer of every visit, time on page, scroll depth and "online now". - Consent: a placeholder waits where the counter goes and gets the script once your consent tool allows it. This works with all 27 supported consent tools and the WP Consent API. Cookie Information and Civic use their own script blocking.
- The link to the statistics page now comes from the Stats4U script. Counters set to "not public" link to the Stats4U home page.
- Coming back from the creator on stats4u.net shows the new design at once.
data-private,data-aliasanddata-screenin a pasted script code are kept.
Install
Download stats4u.zip below, then go to Plugins → Add New → Upload Plugin. Requires WordPress 5.8+ and PHP 7.4+. Tested up to WordPress 7.1.
v1.3.0
Stats4U 1.3.0
- 16 more interface languages, 19 in total – the same as stats4u.net.
- Sites in a regional variant (de_AT, es_MX, pt_BR, fr_CA …) get the nearest bundled translation instead of English.
- Plugin Check 2.1.0 findings fixed: output escaped at the echo, prefixed variable in uninstall.php, same plugin name in readme and header.
Install: download stats4u.zip below, then Plugins → Add New → Upload Plugin.