myCRED - Version 2.4.5.4

Version Description

  • FIX - Rank publish or update not working correctly.
Download this release

Release Info

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

Code changes from version 2.4.5.3 to 2.4.5.4

Files changed (3) hide show
  1. addons/ranks/myCRED-addon-ranks.php +1 -1
  2. mycred.php +7 -7
  3. readme.txt +6 -3
addons/ranks/myCRED-addon-ranks.php CHANGED
@@ -1509,7 +1509,7 @@ if ( ! class_exists( 'myCRED_Ranks_Module' ) ) :
1509
 
1510
  $type_object = new myCRED_Point_Type( $point_type );
1511
 
1512
- foreach ( sanitize_text_field( wp_unslash( $_POST['mycred_rank'] ) ) as $meta_key => $meta_value ) {
1513
 
1514
  if ( $meta_key == 'ctype' ) continue;
1515
 
1509
 
1510
  $type_object = new myCRED_Point_Type( $point_type );
1511
 
1512
+ foreach ( $_POST['mycred_rank'] as $meta_key => $meta_value ) {
1513
 
1514
  if ( $meta_key == 'ctype' ) continue;
1515
 
mycred.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: myCred
4
  * Plugin URI: https://mycred.me
5
  * Description: An adaptive points management system for WordPress powered websites.
6
- * Version: 2.4.5.3
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCred
9
  * Author URI: https://mycred.me
10
  * Author Email: support@mycred.me
11
  * Requires at least: WP 4.8
12
- * Tested up to: WP 5.9.3
13
  * Text Domain: mycred
14
  * Domain Path: /lang
15
  * License: GPLv2 or later
@@ -20,7 +20,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
20
  final class myCRED_Core {
21
 
22
  // Plugin Version
23
- public $version = '2.4.5.3';
24
 
25
  // Instnace
26
  protected static $_instance = NULL;
@@ -54,14 +54,14 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
54
  * @since 1.7
55
  * @version 1.0
56
  */
57
- public function __clone() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '2.4.5.3' ); }
58
 
59
  /**
60
  * Not allowed
61
  * @since 1.7
62
  * @version 1.0
63
  */
64
- public function __wakeup() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '2.4.5.3' ); }
65
 
66
  /**
67
  * Get
@@ -82,7 +82,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
82
  if ( ! defined( $name ) )
83
  define( $name, $value );
84
  elseif ( ! $definable && defined( $name ) )
85
- _doing_it_wrong( 'myCRED_Core->define()', 'Could not define: ' . $name . ' as it is already defined somewhere else!', '2.4.5.3' );
86
  }
87
 
88
  /**
@@ -94,7 +94,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
94
  if ( file_exists( $required_file ) )
95
  require_once $required_file;
96
  else
97
- _doing_it_wrong( 'myCRED_Core->file()', 'Requested file ' . $required_file . ' not found.', '2.4.5.3' );
98
  }
99
 
100
  /**
3
  * Plugin Name: myCred
4
  * Plugin URI: https://mycred.me
5
  * Description: An adaptive points management system for WordPress powered websites.
6
+ * Version: 2.4.5.4
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCred
9
  * Author URI: https://mycred.me
10
  * Author Email: support@mycred.me
11
  * Requires at least: WP 4.8
12
+ * Tested up to: WP 6.0
13
  * Text Domain: mycred
14
  * Domain Path: /lang
15
  * License: GPLv2 or later
20
  final class myCRED_Core {
21
 
22
  // Plugin Version
23
+ public $version = '2.4.5.4';
24
 
25
  // Instnace
26
  protected static $_instance = NULL;
54
  * @since 1.7
55
  * @version 1.0
56
  */
57
+ public function __clone() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '2.4.5.4' ); }
58
 
59
  /**
60
  * Not allowed
61
  * @since 1.7
62
  * @version 1.0
63
  */
64
+ public function __wakeup() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '2.4.5.4' ); }
65
 
66
  /**
67
  * Get
82
  if ( ! defined( $name ) )
83
  define( $name, $value );
84
  elseif ( ! $definable && defined( $name ) )
85
+ _doing_it_wrong( 'myCRED_Core->define()', 'Could not define: ' . $name . ' as it is already defined somewhere else!', '2.4.5.4' );
86
  }
87
 
88
  /**
94
  if ( file_exists( $required_file ) )
95
  require_once $required_file;
96
  else
97
+ _doing_it_wrong( 'myCRED_Core->file()', 'Requested file ' . $required_file . ' not found.', '2.4.5.4' );
98
  }
99
 
100
  /**
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: mycred,wpexpertsio
3
  Tags: badges, gamification, loyalty, points, rewards
4
  Requires at least: 4.8
5
- Tested up to: 5.9.3
6
- Stable tag: 2.4.5.3
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -375,6 +375,9 @@ The banking module have been replaced by Central deposite module, and interest r
375
 
376
  == Changelog ==
377
 
 
 
 
378
  = 2.4.5.3 =
379
  - **FIX** - Sell content issues in manual pages/posts
380
 
@@ -382,7 +385,7 @@ The banking module have been replaced by Central deposite module, and interest r
382
  - **FIX** - Sell Content settings not being saved.
383
 
384
  = 2.4.5.1 =
385
- - **FIX** - Php notices in setting area
386
 
387
  = 2.4.5 =
388
  - **TWAEK** - Code improvement.
2
  Contributors: mycred,wpexpertsio
3
  Tags: badges, gamification, loyalty, points, rewards
4
  Requires at least: 4.8
5
+ Tested up to: 6.0
6
+ Stable tag: 2.4.5.4
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
375
 
376
  == Changelog ==
377
 
378
+ = 2.4.5.4 =
379
+ - **FIX** - Rank publish or update not working correctly.
380
+
381
  = 2.4.5.3 =
382
  - **FIX** - Sell content issues in manual pages/posts
383
 
385
  - **FIX** - Sell Content settings not being saved.
386
 
387
  = 2.4.5.1 =
388
+ - **FIX** - PHP notices in setting area.
389
 
390
  = 2.4.5 =
391
  - **TWAEK** - Code improvement.