Plugin Directory

Changeset 3279384


Ignore:
Timestamp:
04/22/2025 07:05:39 PM (9 months ago)
Author:
simpleanalytics
Message:

Update to version 1.53 from GitHub

Location:
simpleanalytics
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • simpleanalytics/tags/1.53/readme.txt

    r3277957 r3279384  
    77Tested up to: 6.8
    88Requires PHP: 7.2.0
    9 Stable tag: 1.52
     9Stable tag: 1.53
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    137137
    138138== Changelog ==
     139
     140= 1.53 =
     141* 2025-04-22
     142* Changes:
     143* Remove "Enabled" checkbox
     144* Release 1.52: Code updates and support for WordPress 6.8
     145
    139146
    140147= 1.52 =
  • simpleanalytics/tags/1.53/src/Plugin.php

    r3194310 r3279384  
    100100                    ->description('E.g. api.example.com. Leave empty to use the default domain (most users).')
    101101                    ->docs('https://docs.simpleanalytics.com/bypass-ad-blockers');
    102 
    103                 $tab->checkbox(SettingName::ENABLED, 'Enabled')
    104                     ->default(true)
    105                     ->description('Enable or disable Simple Analytics on your website.');
    106102            })
    107103            ->tab('Ignore Rules', function (Tab $tab) {
  • simpleanalytics/tags/1.53/src/TrackingPolicy.php

    r3190991 r3279384  
    77    public function shouldCollectAnalytics(): bool
    88    {
    9         if (Setting::boolean(SettingName::ENABLED, true) === false) {
    10             return false;
    11         }
    12 
    139        if ($this->clientIpExcluded($_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR'])) {
    1410            return false;
  • simpleanalytics/trunk/readme.txt

    r3277957 r3279384  
    77Tested up to: 6.8
    88Requires PHP: 7.2.0
    9 Stable tag: 1.52
     9Stable tag: 1.53
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    137137
    138138== Changelog ==
     139
     140= 1.53 =
     141* 2025-04-22
     142* Changes:
     143* Remove "Enabled" checkbox
     144* Release 1.52: Code updates and support for WordPress 6.8
     145
    139146
    140147= 1.52 =
  • simpleanalytics/trunk/src/Plugin.php

    r3194310 r3279384  
    100100                    ->description('E.g. api.example.com. Leave empty to use the default domain (most users).')
    101101                    ->docs('https://docs.simpleanalytics.com/bypass-ad-blockers');
    102 
    103                 $tab->checkbox(SettingName::ENABLED, 'Enabled')
    104                     ->default(true)
    105                     ->description('Enable or disable Simple Analytics on your website.');
    106102            })
    107103            ->tab('Ignore Rules', function (Tab $tab) {
  • simpleanalytics/trunk/src/TrackingPolicy.php

    r3190991 r3279384  
    77    public function shouldCollectAnalytics(): bool
    88    {
    9         if (Setting::boolean(SettingName::ENABLED, true) === false) {
    10             return false;
    11         }
    12 
    139        if ($this->clientIpExcluded($_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR'])) {
    1410            return false;
Note: See TracChangeset for help on using the changeset viewer.