Plugin Directory

Changeset 3186164 for wp-slimstat


Ignore:
Timestamp:
11/12/2024 05:01:52 AM (17 months ago)
Author:
mostafa.s1990
Message:

Update to version 5.2.9 from GitHub

Location:
wp-slimstat
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-slimstat/tags/5.2.9/CHANGELOG.md

    r3170259 r3186164  
     1= 5.2.9 - 2024-11-12 =
     2- **Enhancement**: Ensured compatibility with WordPress version 6.7.
     3- **Fix**: Resolved the Top Referring Domain Issue.
     4
    15= 5.2.8 - 16.10.2024 =
    26* Fix: UTF-8 characters are now preserved during sanitization.
  • wp-slimstat/tags/5.2.9/admin/view/wp-slimstat-reports.php

    r3167048 r3186164  
    985985
    986986        // Backward compatibility
    987         if (!$all_results) {
     987        if (!is_array($all_results)) {
    988988            $all_results = array();
    989989        }
  • wp-slimstat/tags/5.2.9/readme.txt

    r3170259 r3186164  
    66Requires PHP: 7.4
    77Tested up to: 6.7
    8 Stable tag: 5.2.8
     8Stable tag: 5.2.9
    99License: GPL-2.0+
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6666
    6767== Changelog ==
    68 = 5.2.8 - 16.10.2024 =
    69 * Fix: UTF-8 characters are now preserved during sanitization.
     68= 5.2.9 - 2024-11-12 =
     69- **Enhancement**: Ensured compatibility with WordPress version 6.7.
     70- **Fix**: Resolved the Top Referring Domain Issue.
    7071
    7172[See changelog for all versions](https://raw.githubusercontent.com/wp-slimstat/wp-slimstat/master/CHANGELOG.md).
  • wp-slimstat/tags/5.2.9/src/Constants.php

    r3000282 r3186164  
    1616define('SLIMSTAT_ANALYTICS_DIR', plugin_dir_path(dirname(__FILE__)));
    1717
    18 // Get plugin Data.
    19 $plugin_data = get_plugin_data(SLIMSTAT_ANALYTICS_DIR . 'wp-slimstat.php');
    20 
    2118// Set another useful Plugin defines.
    22 define('SLIMSTAT_ANALYTICS_VERSION', $plugin_data['Version']);
    2319define('SLIMSTAT_ANALYTICS_ADMIN_URL', get_admin_url());
    2420define('SLIMSTAT_ANALYTICS_SITE', 'https://wp-slimstat.com');
  • wp-slimstat/tags/5.2.9/wp-slimstat.php

    r3170259 r3186164  
    44 * Plugin URI: https://wp-slimstat.com/
    55 * Description: The leading web analytics plugin for WordPress
    6  * Version: 5.2.8
     6 * Version: 5.2.9
    77 * Author: Jason Crouse, VeronaLabs
    88 * Text Domain: wp-slimstat
     
    2323    return;
    2424}
     25
     26// Set the plugin version
     27define('SLIMSTAT_ANALYTICS_VERSION', '5.2.9');
    2528
    2629// include the autoloader if it exists
     
    476479
    477480        // Referrer URL
    478         if (!isset(self::$stat['referer']) && !empty($_SERVER['HTTP_REFERER'])) {
     481        if (empty(self::$stat['referer']) && !empty($_SERVER['HTTP_REFERER'])) {
    479482            self::$stat['referer'] = sanitize_url(wp_unslash($_SERVER['HTTP_REFERER']));
    480483        }
  • wp-slimstat/trunk/CHANGELOG.md

    r3170259 r3186164  
     1= 5.2.9 - 2024-11-12 =
     2- **Enhancement**: Ensured compatibility with WordPress version 6.7.
     3- **Fix**: Resolved the Top Referring Domain Issue.
     4
    15= 5.2.8 - 16.10.2024 =
    26* Fix: UTF-8 characters are now preserved during sanitization.
  • wp-slimstat/trunk/admin/view/wp-slimstat-reports.php

    r3167048 r3186164  
    985985
    986986        // Backward compatibility
    987         if (!$all_results) {
     987        if (!is_array($all_results)) {
    988988            $all_results = array();
    989989        }
  • wp-slimstat/trunk/readme.txt

    r3170259 r3186164  
    66Requires PHP: 7.4
    77Tested up to: 6.7
    8 Stable tag: 5.2.8
     8Stable tag: 5.2.9
    99License: GPL-2.0+
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6666
    6767== Changelog ==
    68 = 5.2.8 - 16.10.2024 =
    69 * Fix: UTF-8 characters are now preserved during sanitization.
     68= 5.2.9 - 2024-11-12 =
     69- **Enhancement**: Ensured compatibility with WordPress version 6.7.
     70- **Fix**: Resolved the Top Referring Domain Issue.
    7071
    7172[See changelog for all versions](https://raw.githubusercontent.com/wp-slimstat/wp-slimstat/master/CHANGELOG.md).
  • wp-slimstat/trunk/src/Constants.php

    r3000282 r3186164  
    1616define('SLIMSTAT_ANALYTICS_DIR', plugin_dir_path(dirname(__FILE__)));
    1717
    18 // Get plugin Data.
    19 $plugin_data = get_plugin_data(SLIMSTAT_ANALYTICS_DIR . 'wp-slimstat.php');
    20 
    2118// Set another useful Plugin defines.
    22 define('SLIMSTAT_ANALYTICS_VERSION', $plugin_data['Version']);
    2319define('SLIMSTAT_ANALYTICS_ADMIN_URL', get_admin_url());
    2420define('SLIMSTAT_ANALYTICS_SITE', 'https://wp-slimstat.com');
  • wp-slimstat/trunk/wp-slimstat.php

    r3170259 r3186164  
    44 * Plugin URI: https://wp-slimstat.com/
    55 * Description: The leading web analytics plugin for WordPress
    6  * Version: 5.2.8
     6 * Version: 5.2.9
    77 * Author: Jason Crouse, VeronaLabs
    88 * Text Domain: wp-slimstat
     
    2323    return;
    2424}
     25
     26// Set the plugin version
     27define('SLIMSTAT_ANALYTICS_VERSION', '5.2.9');
    2528
    2629// include the autoloader if it exists
     
    476479
    477480        // Referrer URL
    478         if (!isset(self::$stat['referer']) && !empty($_SERVER['HTTP_REFERER'])) {
     481        if (empty(self::$stat['referer']) && !empty($_SERVER['HTTP_REFERER'])) {
    479482            self::$stat['referer'] = sanitize_url(wp_unslash($_SERVER['HTTP_REFERER']));
    480483        }
Note: See TracChangeset for help on using the changeset viewer.