Changeset 3279384
- Timestamp:
- 04/22/2025 07:05:39 PM (9 months ago)
- Location:
- simpleanalytics
- Files:
-
- 6 edited
- 1 copied
-
tags/1.53 (copied) (copied from simpleanalytics/trunk)
-
tags/1.53/readme.txt (modified) (2 diffs)
-
tags/1.53/src/Plugin.php (modified) (1 diff)
-
tags/1.53/src/TrackingPolicy.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Plugin.php (modified) (1 diff)
-
trunk/src/TrackingPolicy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simpleanalytics/tags/1.53/readme.txt
r3277957 r3279384 7 7 Tested up to: 6.8 8 8 Requires PHP: 7.2.0 9 Stable tag: 1.5 29 Stable tag: 1.53 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 137 137 138 138 == 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 139 146 140 147 = 1.52 = -
simpleanalytics/tags/1.53/src/Plugin.php
r3194310 r3279384 100 100 ->description('E.g. api.example.com. Leave empty to use the default domain (most users).') 101 101 ->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.');106 102 }) 107 103 ->tab('Ignore Rules', function (Tab $tab) { -
simpleanalytics/tags/1.53/src/TrackingPolicy.php
r3190991 r3279384 7 7 public function shouldCollectAnalytics(): bool 8 8 { 9 if (Setting::boolean(SettingName::ENABLED, true) === false) {10 return false;11 }12 13 9 if ($this->clientIpExcluded($_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR'])) { 14 10 return false; -
simpleanalytics/trunk/readme.txt
r3277957 r3279384 7 7 Tested up to: 6.8 8 8 Requires PHP: 7.2.0 9 Stable tag: 1.5 29 Stable tag: 1.53 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 137 137 138 138 == 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 139 146 140 147 = 1.52 = -
simpleanalytics/trunk/src/Plugin.php
r3194310 r3279384 100 100 ->description('E.g. api.example.com. Leave empty to use the default domain (most users).') 101 101 ->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.');106 102 }) 107 103 ->tab('Ignore Rules', function (Tab $tab) { -
simpleanalytics/trunk/src/TrackingPolicy.php
r3190991 r3279384 7 7 public function shouldCollectAnalytics(): bool 8 8 { 9 if (Setting::boolean(SettingName::ENABLED, true) === false) {10 return false;11 }12 13 9 if ($this->clientIpExcluded($_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR'])) { 14 10 return false;
Note: See TracChangeset
for help on using the changeset viewer.