Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.2
coverage: none
tools: composer, cs2pr

Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**Tags:** schema markup, rich snippets, wordpress seo, structured data, google search
**Requires at least:** 3.7
**Tested up to:** 6.8
**Stable tag:** 1.7.4
**Stable tag:** 1.7.5
**Requires PHP:** 7.4
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -83,6 +83,10 @@ No, the plugin provides an easy-to-use interface where you can add schema markup

## Changelog ##

### 1.7.5 ###
- Improvement: Compatibility with PHP version 8.3.
- Fixed: Resolved undefined array key warnings in plugin.

### 1.7.4 ###
- Fixed: WooCommerce product editor compatibility - Added exclusions for WooCommerce post types.

Expand Down
7 changes: 7 additions & 0 deletions admin/bsf-analytics/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
v1.1.16 - 15-July-2025
- Improvement: Added `SureRank` slug to UTM analytics.

v1.1.15 - 1-July-2025
- Improvement: Added `Ultimate_VC_Addons` slug to UTM analytics.

v1.1.14 - 6-May-2025
- New: Introduced a key 'hide_optin_checkbox' to hide checkbox from Settings > General.
- Improvement: Single optin notice for all bsf products.
- Improvement: Introduced delay of 7 days for next optin message if user has reqested request from product.

v1.1.13 - 17-April-2025
- Improvement: Ensured unique id for label's `for` attribute in deactivation survey fields by prefixing them with product slugs.
- Improvement: Prevented deactivation survey from triggering when switching from a child theme to its parent.
Expand Down
4 changes: 3 additions & 1 deletion admin/bsf-analytics/modules/utm-analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,16 @@ class BSF_UTM_Analytics {
'surecart',
'sureforms',
'suremails',
'surerank',
'suretriggers',
'ultimate-addons-for-beaver-builder-lite',
'ultimate-addons-for-gutenberg',
'ultimate-elementor',
'Ultimate_VC_Addons',
'variation-swatches-woo',
'woo-cart-abandonment-recovery',
'wp-schema-pro',
'zipwp',
'zipwp'
];


Expand Down
2 changes: 1 addition & 1 deletion admin/bsf-analytics/version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"bsf-analytics-ver": "1.1.14"
"bsf-analytics-ver": "1.1.16"
}

8 changes: 4 additions & 4 deletions admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function rich_snippet_dashboard() {
</tr>
<tr>
<td align="right"><strong><label>' . esc_html__( 'Ticket Promotion :', 'rich-snippets' ) . '</label></strong></td>
<td><input class="bsf_text_medium" type="text" name="events_price" value="' . esc_attr( stripslashes( $args_event['events_price'] ) ) . '"/></td>
<td><input class="bsf_text_medium" type="text" name="events_price" value="' . esc_attr( stripslashes( isset( $args_event['events_price'] ) ? $args_event['events_price'] : '' ) ) . '"/></td>
</tr>
<tr><td colspan="2"></td></tr>
<tr>
Expand Down Expand Up @@ -370,7 +370,7 @@ function rich_snippet_dashboard() {
</tr>
<tr>
<td align="right"><strong><label>' . esc_html__( 'User Rating :', 'rich-snippets' ) . '</label></strong></td>
<td><input class="bsf_text_medium" type="text" name="software_agr" value="' . esc_attr( stripslashes( $args_soft['software_agr'] ) ) . '"/></td>
<td><input class="bsf_text_medium" type="text" name="software_agr" value="' . esc_attr( stripslashes( isset( $args_soft['software_agr'] ) ? $args_soft['software_agr'] : '' ) ) . '"/></td>
</tr>
<tr>
<td align="right"><strong><label>' . esc_html__( 'Software Price :', 'rich-snippets' ) . '</label></strong></td>
Expand Down Expand Up @@ -474,11 +474,11 @@ function rich_snippet_dashboard() {
</tr>
<tr>
<td align="right"><strong><label>' . esc_html__( 'Publisher :', 'rich-snippets' ) . '</label></strong></td>
<td><input class="bsf_text_medium" type="text" name="article_publisher" value="' . esc_attr( stripslashes( $args_article['article_publisher'] ) ) . '"/></td>
<td><input class="bsf_text_medium" type="text" name="article_publisher" value="' . esc_attr( stripslashes( isset( $args_article['article_publisher'] ) ? $args_article['article_publisher'] : '' ) ) . '"/></td>
</tr>
<tr>
<td align="right"><strong><label>' . esc_html__( 'Publisher Logo :', 'rich-snippets' ) . '</label></strong></td>
<td><input class="bsf_text_medium" type="text" name="article_publisher_logo" value="' . esc_attr( stripslashes( $args_article['article_publisher_logo'] ) ) . '"/></td>
<td><input class="bsf_text_medium" type="text" name="article_publisher_logo" value="' . esc_attr( stripslashes( isset( $args_article['article_publisher_logo'] ) ? $args_article['article_publisher_logo'] : '' ) ) . '"/></td>
</tr>
<tr><td colspan="2"></td></tr>
<tr>
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"php-stubs/generator": "^0.8.4",
"phpunit/phpunit": "^9.5",
"wp-cli/wp-cli": "^2.11",
"squizlabs/php_codesniffer": "^3.10"
"squizlabs/php_codesniffer": "^3.10",
"pheromone/phpcs-security-audit": "^2.0"
},
"extra": {
"installer-paths": {
Expand Down Expand Up @@ -46,7 +47,7 @@
},
"require": {
"wp-cli/wp-cli-bundle": "^2.11",
"php": "^7.4.33",
"php": "^7.4.33 || ^8.0 || ^8.1 || ^8.2 || ^8.3",
"composer/composer": "^2.7",
"brainstormforce/nps-survey": "^1",
"composer/installers": "*",
Expand Down
Loading