myCRED - Version 1.8.5.1

Version Description

Bug fixes release.

=

Download this release

Release Info

Developer wpexpertsio
Plugin Icon 128x128 myCRED
Version 1.8.5.1
Comparing to
See all releases

Code changes from version 1.8.5 to 1.8.5.1

addons/stats/assets/js/mycred-statistics.js CHANGED
@@ -5,9 +5,9 @@ jQuery(function($){
5
 
6
  $.each( myCREDStats.charts, function(elementid, data){
7
 
8
- console.log( 'Generating canvas#' + elementid );
9
- console.log( data );
10
- myCREDCharts[ elementid ] = new Chart( $( 'canvas#' + elementid ).get(0).getContext( '2d' ), data );
11
 
12
  });
13
 
5
 
6
  $.each( myCREDStats.charts, function(elementid, data){
7
 
8
+ if( $( 'canvas#' + elementid ).length > 0 ) {
9
+ myCREDCharts[ elementid ] = new Chart( $( 'canvas#' + elementid ).get(0).getContext( '2d' ), data );
10
+ }
11
 
12
  });
13
 
includes/classes/class.query-leaderboard.php CHANGED
@@ -818,6 +818,8 @@ if ( ! class_exists( 'myCRED_Query_Leaderboard' ) ) :
818
  if ( empty( $args ) ) $args = $this->args;
819
  else $args = $this->apply_defaults( $args );
820
 
 
 
821
  return 'leaderboard-' . md5( serialize( $args ) );
822
 
823
  }
818
  if ( empty( $args ) ) $args = $this->args;
819
  else $args = $this->apply_defaults( $args );
820
 
821
+ unset( $args['now'] );
822
+
823
  return 'leaderboard-' . md5( serialize( $args ) );
824
 
825
  }
mycred.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: myCRED
4
  * Plugin URI: https://mycred.me
5
  * Description: An adaptive points management system for WordPress powered websites.
6
- * Version: 1.8.5
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCRED
9
  * Author URI: https://mycred.me
@@ -19,7 +19,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
19
  final class myCRED_Core {
20
 
21
  // Plugin Version
22
- public $version = '1.8.5';
23
 
24
  // Instnace
25
  protected static $_instance = NULL;
3
  * Plugin Name: myCRED
4
  * Plugin URI: https://mycred.me
5
  * Description: An adaptive points management system for WordPress powered websites.
6
+ * Version: 1.8.5.1
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCRED
9
  * Author URI: https://mycred.me
19
  final class myCRED_Core {
20
 
21
  // Plugin Version
22
+ public $version = '1.8.5.1';
23
 
24
  // Instnace
25
  protected static $_instance = NULL;
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === myCRED ===
2
  Contributors: mycred,wpexpertsio
3
  Tags: point, credit, loyalty program, engagement, reward
4
  Requires at least: 4.8
5
  Tested up to: 5.2.3
6
- Stable tag: 1.8.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -115,6 +115,9 @@ Bug fixes release.
115
  = 1.8.5 =
116
  Bug fixes release.
117
 
 
 
 
118
 
119
  == Other Notes ==
120
 
@@ -137,6 +140,11 @@ Bug fixes release.
137
 
138
  == Changelog ==
139
 
 
 
 
 
 
140
  = 1.8.5 =
141
  NEW - Added "to" attribute in Leaderboard shortcode.
142
  NEW - Added filter "mycred_show_custom_coupon_value" for coupon value.
1
+ === myCRED - Points, Rewards & Badges | Loyalty Plugin ===
2
  Contributors: mycred,wpexpertsio
3
  Tags: point, credit, loyalty program, engagement, reward
4
  Requires at least: 4.8
5
  Tested up to: 5.2.3
6
+ Stable tag: 1.8.5.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
115
  = 1.8.5 =
116
  Bug fixes release.
117
 
118
+ = 1.8.5.1 =
119
+ Bug fixes release.
120
+
121
 
122
  == Other Notes ==
123
 
140
 
141
  == Changelog ==
142
 
143
+ = 1.8.5.1 =
144
+ FIX - myCRED Statistics add-on related shortcodes.
145
+ FIX - myCRED Leaderbard cache issue.
146
+ TWEAK - Database optimization.
147
+
148
  = 1.8.5 =
149
  NEW - Added "to" attribute in Leaderboard shortcode.
150
  NEW - Added filter "mycred_show_custom_coupon_value" for coupon value.