Plugin Directory

Changeset 3275948


Ignore:
Timestamp:
04/17/2025 02:32:06 PM (10 months ago)
Author:
webstat
Message:

Version 2.5.7 bug correction

Location:
web-stat/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • web-stat/trunk/Web-Stat.php

    r3273728 r3275948  
    44Plugin URI: https://www.web-stat.com/
    55Description: Free, real-time stats for your website with full visitor details and traffic analytics.
    6 Version: 2.5.6
     6Version: 2.5.7
    77Author: <a href="https://www.web-stat.com" target="_new">Web-Stat</a>
    88License: GPLv2 or later
     
    1818
    1919class WebStatPlugin {
    20     const VERSION = '2.5';
     20    const VERSION = '2.5.7';
    2121    private $site_id = null;
    2222    private $alias = null;
     
    8989    // Fetch data if needed then load log7 or admin options
    9090    public function enqueue_scripts() {
    91         wp_enqueue_script('wts_init_js', plugin_dir_url(__FILE__) . 'js/wts_script.js', array(), '1.0.0', true);
     91        $script_path = plugin_dir_path(__FILE__) . 'js/wts_script.js';
     92        $script_url  = plugin_dir_url(__FILE__) . 'js/wts_script.js';
     93        $script_ver  = file_exists($script_path) ? filemtime($script_path) : '1.0.0';
     94        wp_enqueue_script('wts_init_js', $script_url, array(), $script_ver, true);
    9295        $wts_data = array('ajax_url' => 'https://app.ardalio.com/ajax.pl', 'action' => 'get_wp_data', 'version' => self::VERSION, 'alias' => $this->alias, 'db' => $this->db, 'site_id' => $this->site_id, 'old_uid' => $this->old_uid, 'url' => get_bloginfo('url'), 'language' => get_bloginfo('language'), 'time_zone' => get_option('timezone_string'), 'gmt_offset' => get_option('gmt_offset'), 'email' => get_option('admin_email') );
    9396        if ($this->is_admin_user) {
  • web-stat/trunk/readme.txt

    r3272829 r3275948  
    55Requires at least: 4.9.5
    66Tested up to: 6.8
    7 Stable tag: 2.5.6
     7Stable tag: 2.5.7
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9393== Changelog ==
    9494
     95= 2.5.7 =
     96* Released: 2025-04-17
     97* Bug corrected
    9598= 2.5.6 =
    9699* Released: 2025-04-14
     
    191194 
    192195== Upgrade Notice ==
     196= 2.5.7 =
     197* 2.5.7 bug corrected. Update is recommended
    193198= 2.5.6 =
    194 * 2.5.3 bug corrected. Update is recommended
     199* 2.5.6 bug corrected. Update is recommended
    195200= 2.5.3 =
    196201* Faster version, more accurate. Update is recommended
Note: See TracChangeset for help on using the changeset viewer.