Skip to content

Commit

Permalink
Merge pull request #162 from retainful/master-release-v2.6.31
Browse files Browse the repository at this point in the history
- v2.6.31 release changes
  • Loading branch information
rameshelamathi authored Mar 12, 2024
2 parents 20b32ce + b245671 commit 351c616
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
6 changes: 3 additions & 3 deletions developer.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ svn add trunk/*
3. Commit code
svn ci -m 'Adding first version of my plugin'
or
svn ci -m 'v2.6.30 release' --username retainful
svn ci -m 'v2.6.31 release' --username retainful

4. check upto date code
svn up
Expand All @@ -17,8 +17,8 @@ svn stat
svn diff

6. Tagging New Version
svn cp trunk tags/2.6.30
svn ci -m "tagging version 2.6.30"
svn cp trunk tags/2.6.31
svn ci -m "tagging version 2.6.31"


Release Checklist:
Expand Down
7 changes: 6 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Requires at least: 4.6.1
Tested up to: 6.4
WC tested up to: 8.6
Requires PHP: 5.6
Stable tag: 2.6.30
Stable tag: 2.6.31
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -249,6 +249,11 @@ No. There is no charges for support.
== Screenshots ==

== Changelog ==
= 2.6.31 =
- Fix: Removed product page marketing consent
- Added: Currency code for popup
- Improved: Webhook creation workflow

= 2.6.30 =
- Fix: user identity update for popup

Expand Down
4 changes: 2 additions & 2 deletions retainful-next-order-coupon-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Recover abandoned carts and drive repeat purchases by sending single-use, unique coupon codes to customers for their next purchase
* Author: Retainful
* Author URI: https://www.retainful.com
* Version: 2.6.30
* Version: 2.6.31
* Slug: retainful-next-order-coupon-for-woocommerce
* Text Domain: retainful-next-order-coupon-for-woocommerce
* Domain Path: /i18n/languages/
Expand All @@ -30,7 +30,7 @@
* Current version of our app
*/
if (!defined('RNOC_VERSION'))
define('RNOC_VERSION', '2.6.30');
define('RNOC_VERSION', '2.6.31');
/**
* Set base file URL
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Popup/Popup.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function printPopup()
'path' => $admin->getIdentityPath(),
'domain' => COOKIE_DOMAIN,
'currency_code' => $wc->getDefaultWoocommerceCurrency(),
'lang' => $wc->getLanguage()
'lang' => $wc->getSiteDefaultLang()
);
$params = wp_parse_args($user_arr, $default_params);
include_once plugin_dir_path(RNOC_FILE) . 'src/templates/popup.php';
Expand Down
7 changes: 0 additions & 7 deletions src/WcFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2107,11 +2107,4 @@ function getDefaultWoocommerceCurrency($currency = '')
return apply_filters('rnoc_custom_default_currency', $currency);
}

/**
* @return mixed|null
*/
function getLanguage()
{
return apply_filters('rnoc_custom_default_language', get_locale());
}
}

0 comments on commit 351c616

Please sign in to comment.