Changeset 3483763 for wp-slimstat
- Timestamp:
- 03/16/2026 11:18:12 AM (12 days ago)
- Location:
- wp-slimstat
- Files:
-
- 8 edited
- 1 copied
-
tags/5.4.3 (copied) (copied from wp-slimstat/trunk)
-
tags/5.4.3/languages/wp-slimstat.pot (modified) (2 diffs)
-
tags/5.4.3/readme.txt (modified) (2 diffs)
-
tags/5.4.3/src/Helpers/DataBuckets.php (modified) (3 diffs)
-
tags/5.4.3/wp-slimstat.php (modified) (2 diffs)
-
trunk/languages/wp-slimstat.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Helpers/DataBuckets.php (modified) (3 diffs)
-
trunk/wp-slimstat.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-slimstat/tags/5.4.3/languages/wp-slimstat.pot
r3483202 r3483763 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: SlimStat Analytics 5.4. 2\n"5 "Project-Id-Version: SlimStat Analytics 5.4.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-slimstat\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-03-1 5T15:51:50+00:00\n"12 "POT-Creation-Date: 2026-03-16T10:28:33+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" -
wp-slimstat/tags/5.4.3/readme.txt
r3483202 r3483763 6 6 Requires PHP: 7.4 7 7 Tested up to: 6.9.4 8 Stable tag: 5.4. 28 Stable tag: 5.4.3 9 9 License: GPL-2.0+ 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 76 76 77 77 == Changelog == 78 = 5.4.3 - 2026-03-16 = 79 - **Fix**: Fixed fatal error on servers without the PHP calendar extension ([PR #229](https://github.com/wp-slimstat/wp-slimstat/pull/229)) 80 - **Fix**: Added defensive fallback for corrupted `start_of_week` option in calendar-related reports 81 - **Improved**: Moved day names array to a class constant in DataBuckets for better maintainability 82 78 83 = 5.4.2 - 2026-03-15 = 79 84 - **Fix**: Fixed tracking data not being recorded on some server configurations — REST API and admin-ajax endpoints now return responses correctly ([PR #218](https://github.com/wp-slimstat/wp-slimstat/pull/218)) -
wp-slimstat/tags/5.4.3/src/Helpers/DataBuckets.php
r3477417 r3483763 12 12 class DataBuckets 13 13 { 14 private const DAY_NAMES = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']; 15 14 16 private $labels = []; 15 17 … … 105 107 $start = (new \DateTime())->setTimestamp($this->start); 106 108 $end = (new \DateTime())->setTimestamp($this->end); 107 $startOfWeek = get_option('start_of_week', 1);109 $startOfWeek = (int) get_option('start_of_week', 1); 108 110 109 111 // Adjust start to the first day of the week … … 116 118 117 119 // Move start to the next week if it is not the start of the week 118 $start->modify('next ' . jddayofweek($startOfWeek - 1, 1));120 $start->modify('next ' . (self::DAY_NAMES[$startOfWeek] ?? 'Monday')); 119 121 if ($start->getTimestamp() <= $this->start) { 120 122 $start->modify('+1 week'); -
wp-slimstat/tags/5.4.3/wp-slimstat.php
r3483202 r3483763 4 4 * Plugin URI: https://wp-slimstat.com/ 5 5 * Description: The leading web analytics plugin for WordPress 6 * Version: 5.4. 26 * Version: 5.4.3 7 7 * Author: Jason Crouse, VeronaLabs 8 8 * Text Domain: wp-slimstat … … 21 21 22 22 // Set the plugin version and directory 23 define('SLIMSTAT_ANALYTICS_VERSION', '5.4. 2');23 define('SLIMSTAT_ANALYTICS_VERSION', '5.4.3'); 24 24 define('SLIMSTAT_FILE', __FILE__); 25 25 define('SLIMSTAT_DIR', __DIR__); -
wp-slimstat/trunk/languages/wp-slimstat.pot
r3483202 r3483763 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: SlimStat Analytics 5.4. 2\n"5 "Project-Id-Version: SlimStat Analytics 5.4.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-slimstat\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-03-1 5T15:51:50+00:00\n"12 "POT-Creation-Date: 2026-03-16T10:28:33+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" -
wp-slimstat/trunk/readme.txt
r3483202 r3483763 6 6 Requires PHP: 7.4 7 7 Tested up to: 6.9.4 8 Stable tag: 5.4. 28 Stable tag: 5.4.3 9 9 License: GPL-2.0+ 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 76 76 77 77 == Changelog == 78 = 5.4.3 - 2026-03-16 = 79 - **Fix**: Fixed fatal error on servers without the PHP calendar extension ([PR #229](https://github.com/wp-slimstat/wp-slimstat/pull/229)) 80 - **Fix**: Added defensive fallback for corrupted `start_of_week` option in calendar-related reports 81 - **Improved**: Moved day names array to a class constant in DataBuckets for better maintainability 82 78 83 = 5.4.2 - 2026-03-15 = 79 84 - **Fix**: Fixed tracking data not being recorded on some server configurations — REST API and admin-ajax endpoints now return responses correctly ([PR #218](https://github.com/wp-slimstat/wp-slimstat/pull/218)) -
wp-slimstat/trunk/src/Helpers/DataBuckets.php
r3477417 r3483763 12 12 class DataBuckets 13 13 { 14 private const DAY_NAMES = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']; 15 14 16 private $labels = []; 15 17 … … 105 107 $start = (new \DateTime())->setTimestamp($this->start); 106 108 $end = (new \DateTime())->setTimestamp($this->end); 107 $startOfWeek = get_option('start_of_week', 1);109 $startOfWeek = (int) get_option('start_of_week', 1); 108 110 109 111 // Adjust start to the first day of the week … … 116 118 117 119 // Move start to the next week if it is not the start of the week 118 $start->modify('next ' . jddayofweek($startOfWeek - 1, 1));120 $start->modify('next ' . (self::DAY_NAMES[$startOfWeek] ?? 'Monday')); 119 121 if ($start->getTimestamp() <= $this->start) { 120 122 $start->modify('+1 week'); -
wp-slimstat/trunk/wp-slimstat.php
r3483202 r3483763 4 4 * Plugin URI: https://wp-slimstat.com/ 5 5 * Description: The leading web analytics plugin for WordPress 6 * Version: 5.4. 26 * Version: 5.4.3 7 7 * Author: Jason Crouse, VeronaLabs 8 8 * Text Domain: wp-slimstat … … 21 21 22 22 // Set the plugin version and directory 23 define('SLIMSTAT_ANALYTICS_VERSION', '5.4. 2');23 define('SLIMSTAT_ANALYTICS_VERSION', '5.4.3'); 24 24 define('SLIMSTAT_FILE', __FILE__); 25 25 define('SLIMSTAT_DIR', __DIR__);
Note: See TracChangeset
for help on using the changeset viewer.