Skip to content

Commit

Permalink
Release myCred 2.6.1
Browse files Browse the repository at this point in the history
Release myCred 2.6.1
  • Loading branch information
mycred committed Feb 16, 2024
1 parent 9520092 commit 7abbd82
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
6 changes: 5 additions & 1 deletion addons/coupons/includes/mycred-coupon-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,11 @@ function mycred_get_coupon_post( $code = '' ) {

if ( $code == '' ) return false;

return apply_filters( 'mycred_get_coupon_by_code', mycred_get_page_by_title( strtoupper( $code ), 'OBJECT', MYCRED_COUPON_KEY ), $code );
$coupon_post = mycred_get_page_by_title( strtoupper( $code ), 'OBJECT', MYCRED_COUPON_KEY );

if ( empty( $coupon_post[0]->ID ) ) return false;

return apply_filters( 'mycred_get_coupon_by_code', $coupon_post[0], $code );

}
endif;
Expand Down
6 changes: 3 additions & 3 deletions mycred.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
* Plugin Name: myCred
* Plugin URI: https://mycred.me
* Description: An adaptive points management system for WordPress powered websites.
* Version: 2.6
* Version: 2.6.1
* Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
* Author: myCred
* Author URI: https://mycred.me
* Author Email: [email protected]
* Requires at least: WP 4.8
* Tested up to: WP 6.3.2
* Tested up to: WP 6.4.1
* Text Domain: mycred
* Domain Path: /lang
* License: GPLv2 or later
Expand All @@ -20,7 +20,7 @@
final class myCRED_Core {

// Plugin Version
public $version = '2.6';
public $version = '2.6.1';

// Instnace
protected static $_instance = NULL;
Expand Down
16 changes: 11 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: mycred,wpexpertsio
Tags: badges, gamification, loyalty, points, rewards
Requires at least: 4.8
Tested up to: 6.3.2
Stable tag: 2.6
Tested up to: 6.4.1
Stable tag: 2.6.1
Requires PHP: 7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -133,8 +133,8 @@ You can achieve the following features by using a dedicated log for your points
Central Deposit is a built-in add-on that allows the admin to nominate any available user account to become the primary account from where all point-related transactions are managed.

* **Central Deposit Account** - The admin can choose any existing user account to become a central deposit account that controls all points and their transactions.
* **Centralized Transaction Mangement** - Any points spent or earned are recorded in a point log that can be accessed from the user’s myCred admin dashboard.
* **Ignore Manual Adjustments** - After a central deposit account is nominated, the admin can not add points to the customer’s account manually.
* **Centralized Transaction Mangement** - Any points spent or earned are recorded in a point log that can be accessed from the user's myCred admin dashboard.
* **Ignore Manual Adjustments** - After a central deposit account is nominated, the admin can not add points to the customer's account manually.
* **Set Starting from** - Setup the starting date
* **Interval (in days)** - Deposit points after x days interval.
* **Amount** - The amount of points to be scheduled.
Expand Down Expand Up @@ -304,6 +304,9 @@ You can find a list of [frequently asked questions](https://mycred.me/about/faq/

== Upgrade Notice ==

= 2.6.1 =
Bug fixes.

= 2.6 =
Improvements.

Expand Down Expand Up @@ -423,6 +426,9 @@ The banking module have been replaced by Central deposite module, and interest r

== Changelog ==

= 2.6.1 =
- **FIX** - Fixed mycred_load_coupon shortcode issues.

= 2.6 =
- **IMPROVEMENT** - Modern and easy to use UI to manage myCred points system.
- **TWEAK** - Optimized for performance and security.
Expand All @@ -446,7 +452,7 @@ The banking module have been replaced by Central deposite module, and interest r
- **NEW** - Introduced new shortcode mycred_my_chart_gain_loss.
- **TWEAK** - Added database indexes to ensure maximum performance on the myCred Log table.
- **TWEAK** - Moved the Open badge setting to the separate open badge tab.
- **FIX** - Ranks-related email notification events are not triggered when the admin adjusts the user’s points manually.
- **FIX** - Ranks-related email notification events are not triggered when the admin adjusts the user's points manually.
- **FIX** - Issue fixed regarding myCred Events Manager Payment Gateway.

= 2.4.10 =
Expand Down

0 comments on commit 7abbd82

Please sign in to comment.