Version Description
Bug fixes release.
=
Download this release
Release Info
Developer | wpexpertsio |
Plugin | myCRED |
Version | 1.8.14.2 |
Comparing to | |
See all releases |
Code changes from version 1.8.14.1 to 1.8.14.2
- mycred.php +7 -7
- readme.txt +7 -1
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.14.
|
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.14.
|
23 |
|
24 |
// Instnace
|
25 |
protected static $_instance = NULL;
|
@@ -53,14 +53,14 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
|
|
53 |
* @since 1.7
|
54 |
* @version 1.0
|
55 |
*/
|
56 |
-
public function __clone() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.8.14.
|
57 |
|
58 |
/**
|
59 |
* Not allowed
|
60 |
* @since 1.7
|
61 |
* @version 1.0
|
62 |
*/
|
63 |
-
public function __wakeup() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.8.14.
|
64 |
|
65 |
/**
|
66 |
* Get
|
@@ -81,7 +81,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
|
|
81 |
if ( ! defined( $name ) )
|
82 |
define( $name, $value );
|
83 |
elseif ( ! $definable && defined( $name ) )
|
84 |
-
_doing_it_wrong( 'myCRED_Core->define()', 'Could not define: ' . $name . ' as it is already defined somewhere else!', '1.8.14.
|
85 |
}
|
86 |
|
87 |
/**
|
@@ -93,7 +93,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
|
|
93 |
if ( file_exists( $required_file ) )
|
94 |
require_once $required_file;
|
95 |
else
|
96 |
-
_doing_it_wrong( 'myCRED_Core->file()', 'Requested file ' . $required_file . ' not found.', '1.8.14.
|
97 |
}
|
98 |
|
99 |
/**
|
@@ -1109,7 +1109,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
|
|
1109 |
|
1110 |
if( $url == 'http://mycred.me/api/plugins/' && ! empty( $parsed_args['body']['action'] ) ) {
|
1111 |
|
1112 |
-
$parsed_args['optimize_license'] = true;
|
1113 |
|
1114 |
}
|
1115 |
|
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.14.2
|
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.14.2';
|
23 |
|
24 |
// Instnace
|
25 |
protected static $_instance = NULL;
|
53 |
* @since 1.7
|
54 |
* @version 1.0
|
55 |
*/
|
56 |
+
public function __clone() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.8.14.2' ); }
|
57 |
|
58 |
/**
|
59 |
* Not allowed
|
60 |
* @since 1.7
|
61 |
* @version 1.0
|
62 |
*/
|
63 |
+
public function __wakeup() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.8.14.2' ); }
|
64 |
|
65 |
/**
|
66 |
* Get
|
81 |
if ( ! defined( $name ) )
|
82 |
define( $name, $value );
|
83 |
elseif ( ! $definable && defined( $name ) )
|
84 |
+
_doing_it_wrong( 'myCRED_Core->define()', 'Could not define: ' . $name . ' as it is already defined somewhere else!', '1.8.14.2' );
|
85 |
}
|
86 |
|
87 |
/**
|
93 |
if ( file_exists( $required_file ) )
|
94 |
require_once $required_file;
|
95 |
else
|
96 |
+
_doing_it_wrong( 'myCRED_Core->file()', 'Requested file ' . $required_file . ' not found.', '1.8.14.2' );
|
97 |
}
|
98 |
|
99 |
/**
|
1109 |
|
1110 |
if( $url == 'http://mycred.me/api/plugins/' && ! empty( $parsed_args['body']['action'] ) ) {
|
1111 |
|
1112 |
+
$parsed_args['body']['optimize_license'] = true;
|
1113 |
|
1114 |
}
|
1115 |
|
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.5.1
|
6 |
-
Stable tag: 1.8.14.
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -286,6 +286,9 @@ Bug fixes release.
|
|
286 |
= 1.8.14.1 =
|
287 |
Bug fixes release.
|
288 |
|
|
|
|
|
|
|
289 |
== Other Notes ==
|
290 |
|
291 |
= Requirements =
|
@@ -307,6 +310,9 @@ Bug fixes release.
|
|
307 |
|
308 |
== Changelog ==
|
309 |
|
|
|
|
|
|
|
310 |
= 1.8.14.1 =
|
311 |
- **NEW** - Add filter for myCred Link Click hook
|
312 |
- **FIX** - Reduce license requests
|
3 |
Tags: badges, gamification, loyalty, points, rewards
|
4 |
Requires at least: 4.8
|
5 |
Tested up to: 5.5.1
|
6 |
+
Stable tag: 1.8.14.2
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
286 |
= 1.8.14.1 =
|
287 |
Bug fixes release.
|
288 |
|
289 |
+
= 1.8.14.2 =
|
290 |
+
Bug fixes release.
|
291 |
+
|
292 |
== Other Notes ==
|
293 |
|
294 |
= Requirements =
|
310 |
|
311 |
== Changelog ==
|
312 |
|
313 |
+
= 1.8.14.2 =
|
314 |
+
- **TWEAK** - Code optimization.
|
315 |
+
|
316 |
= 1.8.14.1 =
|
317 |
- **NEW** - Add filter for myCred Link Click hook
|
318 |
- **FIX** - Reduce license requests
|