myCRED - Version 2.4.4.4

Version Description

Bug fixes.

Download this release

Release Info

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

Code changes from version 2.4.4.3 to 2.4.4.4

addons/badges/myCRED-addon-badges.php CHANGED
@@ -1765,7 +1765,27 @@ th#badge-users { width: 10%; }
1765
  </div>
1766
  <div class="badge-actions" style="min-height: 32px;">
1767
 
1768
- <?php echo esc_html( $level_select ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1769
 
1770
  </div>
1771
 
1765
  </div>
1766
  <div class="badge-actions" style="min-height: 32px;">
1767
 
1768
+ <?php
1769
+
1770
+ $allowed_html = array(
1771
+ 'input' => array(
1772
+ 'type' => array(),
1773
+ 'value' => array(),
1774
+ 'name' => array()
1775
+ ),
1776
+ 'select' => array(
1777
+ 'name' => array(),
1778
+ 'disabled' => array()
1779
+ ),
1780
+ 'option' => array(
1781
+ 'value' => array(),
1782
+ 'selected' => array()
1783
+ )
1784
+ );
1785
+
1786
+ echo wp_kses( $level_select, $allowed_html );
1787
+
1788
+ ?>
1789
 
1790
  </div>
1791
 
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: 2.4.4.3
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCred
9
  * Author URI: https://mycred.me
@@ -20,7 +20,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
20
  final class myCRED_Core {
21
 
22
  // Plugin Version
23
- public $version = '2.4.4.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&#8217; huh?', '2.4.4.1' ); }
58
 
59
  /**
60
  * Not allowed
61
  * @since 1.7
62
  * @version 1.0
63
  */
64
- public function __wakeup() { _doing_it_wrong( __FUNCTION__, 'Cheatin&#8217; huh?', '2.4.4.1' ); }
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.4.1' );
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.4.1' );
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.4.4
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCred
9
  * Author URI: https://mycred.me
20
  final class myCRED_Core {
21
 
22
  // Plugin Version
23
+ public $version = '2.4.4.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&#8217; huh?', '2.4.4.4' ); }
58
 
59
  /**
60
  * Not allowed
61
  * @since 1.7
62
  * @version 1.0
63
  */
64
+ public function __wakeup() { _doing_it_wrong( __FUNCTION__, 'Cheatin&#8217; huh?', '2.4.4.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.4.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.4.4' );
98
  }
99
 
100
  /**
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.4.3
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -303,6 +303,9 @@ You can find a list of [frequently asked questions](https://mycred.me/about/faq/
303
 
304
  == Upgrade Notice ==
305
 
 
 
 
306
  = 2.4.4.3 =
307
  Code improvement.
308
 
@@ -369,6 +372,9 @@ The banking module have been replaced by Central deposite module, and interest r
369
 
370
  == Changelog ==
371
 
 
 
 
372
  = 2.4.4.3 =
373
  * **TWEAK** - Patched security vulnerability.
374
 
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.4.4
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
303
 
304
  == Upgrade Notice ==
305
 
306
+ = 2.4.4.4 =
307
+ Bug fixes.
308
+
309
  = 2.4.4.3 =
310
  Code improvement.
311
 
372
 
373
  == Changelog ==
374
 
375
+ = 2.4.4.4 =
376
+ * **FIX** - Unable to assign/revoke badges manually, also some HTML elements were not rendered properly in the user edit window under the Badges section.
377
+
378
  = 2.4.4.3 =
379
  * **TWEAK** - Patched security vulnerability.
380