Skip to content

Commit 8a0ac22

Browse files
authored
Merge pull request #204 from brainstormforce/phpcs_security_audit
EPS-1449: PHPCS Security Audit for AIOSRS
2 parents fa83bef + 2b5fbe7 commit 8a0ac22

File tree

12 files changed

+356
-158
lines changed

12 files changed

+356
-158
lines changed

.github/workflows/phpcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup PHP
2222
uses: shivammathur/setup-php@v2
2323
with:
24-
php-version: 7.4
24+
php-version: 8.2
2525
coverage: none
2626
tools: composer, cs2pr
2727

admin/bsf-analytics/changelog.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
v1.1.16 - 15-July-2025
2+
- Improvement: Added `SureRank` slug to UTM analytics.
3+
4+
v1.1.15 - 1-July-2025
5+
- Improvement: Added `Ultimate_VC_Addons` slug to UTM analytics.
6+
17
v1.1.14 - 6-May-2025
28
- New: Introduced a key 'hide_optin_checkbox' to hide checkbox from Settings > General.
39
- Improvement: Single optin notice for all bsf products.
410
- Improvement: Introduced delay of 7 days for next optin message if user has reqested request from product.
11+
512
v1.1.13 - 17-April-2025
613
- Improvement: Ensured unique id for label's `for` attribute in deactivation survey fields by prefixing them with product slugs.
714
- Improvement: Prevented deactivation survey from triggering when switching from a child theme to its parent.

admin/bsf-analytics/modules/utm-analytics.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,16 @@ class BSF_UTM_Analytics {
4646
'surecart',
4747
'sureforms',
4848
'suremails',
49+
'surerank',
4950
'suretriggers',
5051
'ultimate-addons-for-beaver-builder-lite',
5152
'ultimate-addons-for-gutenberg',
5253
'ultimate-elementor',
54+
'Ultimate_VC_Addons',
5355
'variation-swatches-woo',
5456
'woo-cart-abandonment-recovery',
5557
'wp-schema-pro',
56-
'zipwp',
58+
'zipwp'
5759
];
5860

5961

admin/bsf-analytics/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"bsf-analytics-ver": "1.1.14"
2+
"bsf-analytics-ver": "1.1.16"
33
}
44

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"php-stubs/generator": "^0.8.4",
1313
"phpunit/phpunit": "^9.5",
1414
"wp-cli/wp-cli": "^2.11",
15-
"squizlabs/php_codesniffer": "^3.10"
15+
"squizlabs/php_codesniffer": "^3.10",
16+
"pheromone/phpcs-security-audit": "^2.0"
1617
},
1718
"extra": {
1819
"installer-paths": {
@@ -46,7 +47,7 @@
4647
},
4748
"require": {
4849
"wp-cli/wp-cli-bundle": "^2.11",
49-
"php": "^7.4.33",
50+
"php": "^7.4.33 || ^8.0 || ^8.1 || ^8.2 || ^8.3",
5051
"composer/composer": "^2.7",
5152
"brainstormforce/nps-survey": "^1",
5253
"composer/installers": "*",

0 commit comments

Comments
 (0)