Skip to content

Commit

Permalink
bumped version number (#100)
Browse files Browse the repository at this point in the history
* bumped version number
  • Loading branch information
stubbedev authored Jul 29, 2024
1 parent 8a5f07a commit 2776ed1
Show file tree
Hide file tree
Showing 26 changed files with 59 additions and 27 deletions.
2 changes: 1 addition & 1 deletion assets/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion assets/js/admin/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion assets/js/powerstep.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion class-clerk.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
4 changes: 2 additions & 2 deletions includes/class-clerk-admin-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down Expand Up @@ -50,7 +50,7 @@ public function __construct() {
}
$this->init_hooks();
$this->logger = new Clerk_Logger();
$this->version = '4.1.8';
$this->version = '4.1.9';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion includes/class-clerk-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-clerk-basket.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-clerk-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-clerk-exit-intent.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-clerk-logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-clerk-powerstep.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
14 changes: 13 additions & 1 deletion includes/class-clerk-realtime-updates.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down Expand Up @@ -686,6 +686,18 @@ function ( $var ) {
$product_array['price_html'] = $product->get_price_html();
}

if ( method_exists( $product, 'get_average_rating' ) ) {
$product_array['product_rating'] = $product->get_average_rating();
}

if ( method_exists( $product, 'get_rating_count' ) ) {
$product_array['product_rating_count'] = $product->get_rating_count();
}

if ( method_exists( $product, 'get_review_count' ) ) {
$product_array['product_review_count'] = $product->get_review_count();
}

$lang_info = apply_filters( 'wpml_post_language_details', null, $product->get_id() );
if ( is_array( $lang_info ) && array_key_exists( 'language_code', $lang_info ) ) {
$product_array['language_code'] = $lang_info['language_code'];
Expand Down
14 changes: 13 additions & 1 deletion includes/class-clerk-rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down Expand Up @@ -639,6 +639,18 @@ function ( $var ) {
$product_array['price_html'] = $product->get_price_html();
}

if ( method_exists( $product, 'get_average_rating' ) ) {
$product_array['product_rating'] = $product->get_average_rating();
}

if ( method_exists( $product, 'get_rating_count' ) ) {
$product_array['product_rating_count'] = $product->get_rating_count();
}

if ( method_exists( $product, 'get_review_count' ) ) {
$product_array['product_review_count'] = $product->get_review_count();
}

$lang_info = apply_filters( 'wpml_post_language_details', null, $product->get_id() );
if ( is_array( $lang_info ) && array_key_exists( 'language_code', $lang_info ) ) {
$product_array['language_code'] = $lang_info['language_code'];
Expand Down
2 changes: 1 addition & 1 deletion includes/class-clerk-sales-tracking.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-clerk-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-clerk-visitor-tracking.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/clerk-legacy-helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/clerk-multi-lang-helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/clerk-template-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/widgets/class-clerk-widget-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion includes/widgets/class-clerk-widget-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ License URI: https://opensource.org/licenses/MIT
Tested up to: 6.5.2
WC requires at least: 4.4.0
WC tested up to: 7.1.0
Stable Tag: 4.1.8
Stable Tag: 4.1.9

== Description ==
Clerk.io is a software that helps your customers buy more from your webshop, through 4 amazing feature:
Expand All @@ -30,6 +30,14 @@ Once signed up, simply login to your my.clerk.io backend, which will guide you t


== Changelog ==
= 4.1.9 - 2024-07-29
* Added price_html field to product data.
* Added average_rating, rating_count and review_count to product data.
* Added guard to check that wc_products() is defined, to cover people installing plugin before woocommerce itself on their wordpress.
* Log email from active login, even if not typed into input field, if collect_emails enabled.
* Flatten child products custom attributes into single array.


= 4.1.8 - 2024-04-15
* Added guards for grouped products without get_regular_price method in product sync.
* Remove RTU trigger from variants being modified.
Expand Down
2 changes: 1 addition & 1 deletion templates/clerk-powerstep-popup.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion templates/clerk-powerstep.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion templates/clerk-related-products.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down
2 changes: 1 addition & 1 deletion templates/clerk-searchform.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Clerk
* Plugin URI: https://clerk.io/
* Description: Clerk.io Turns More Browsers Into Buyers
* Version: 4.1.8
* Version: 4.1.9
* Author: Clerk.io
* Author URI: https://clerk.io
*
Expand Down

0 comments on commit 2776ed1

Please # to comment.