Version Description
Bug fixes.
=
Download this release
Release Info
Developer | designbymerovingi |
Plugin | myCRED |
Version | 1.7.9.3 |
Comparing to | |
See all releases |
Code changes from version 1.7.9.4 to 1.7.9.3
addons/buy-creds/abstracts/mycred-abstract-payment-gateway.php
CHANGED
@@ -1713,11 +1713,17 @@ if ( ! class_exists( 'myCRED_Payment_Gateway' ) ) :
|
|
1713 |
/**
|
1714 |
* Trash Pending Payment
|
1715 |
* @since 1.5.3
|
1716 |
-
* @version 1.0
|
1717 |
*/
|
1718 |
function trash_pending_payment( $payment_id ) {
|
1719 |
|
1720 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1721 |
|
1722 |
}
|
1723 |
|
1713 |
/**
|
1714 |
* Trash Pending Payment
|
1715 |
* @since 1.5.3
|
1716 |
+
* @version 1.0
|
1717 |
*/
|
1718 |
function trash_pending_payment( $payment_id ) {
|
1719 |
|
1720 |
+
if ( is_numeric( $payment_id ) )
|
1721 |
+
$post = get_post( $payment_id );
|
1722 |
+
else
|
1723 |
+
$post = get_page_by_title( $payment_id, OBJECT, 'buycred_payment' );
|
1724 |
+
|
1725 |
+
if ( isset( $post->ID ) )
|
1726 |
+
wp_trash_post( $post->ID );
|
1727 |
|
1728 |
}
|
1729 |
|
addons/buy-creds/gateways/bitpay.php
CHANGED
@@ -156,7 +156,7 @@ if ( ! class_exists( 'myCRED_Bitpay' ) ) :
|
|
156 |
/**
|
157 |
* Buy Creds
|
158 |
* @since 1.4
|
159 |
-
* @version 1.2
|
160 |
*/
|
161 |
public function buy() {
|
162 |
|
@@ -200,8 +200,7 @@ if ( ! class_exists( 'myCRED_Bitpay' ) ) :
|
|
200 |
'fullNotifications' => ( $this->prefs['notifications'] ) ? true : false,
|
201 |
'posData' => $this->transaction_id,
|
202 |
'buyerName' => $this->get_buyers_name( $from ),
|
203 |
-
'itemDesc' => $item_name
|
204 |
-
'redirectURL' => $this->get_thankyou()
|
205 |
) );
|
206 |
|
207 |
// Request Failed
|
156 |
/**
|
157 |
* Buy Creds
|
158 |
* @since 1.4
|
159 |
+
* @version 1.2
|
160 |
*/
|
161 |
public function buy() {
|
162 |
|
200 |
'fullNotifications' => ( $this->prefs['notifications'] ) ? true : false,
|
201 |
'posData' => $this->transaction_id,
|
202 |
'buyerName' => $this->get_buyers_name( $from ),
|
203 |
+
'itemDesc' => $item_name
|
|
|
204 |
) );
|
205 |
|
206 |
// Request Failed
|
addons/transfer/includes/mycred-transfer-shortcodes.php
CHANGED
@@ -6,7 +6,7 @@ if ( ! defined( 'myCRED_VERSION' ) ) exit;
|
|
6 |
* Renders a transfer form that allows users to send points to other users.
|
7 |
* @see http://mycred.me/functions/mycred_transfer_render/
|
8 |
* @since 0.1
|
9 |
-
* @version 1.7.
|
10 |
*/
|
11 |
if ( ! function_exists( 'mycred_transfer_render' ) ) :
|
12 |
function mycred_transfer_render( $atts, $content = NULL ) {
|
@@ -164,7 +164,7 @@ if ( ! function_exists( 'mycred_transfer_render' ) ) :
|
|
164 |
}
|
165 |
|
166 |
// Recipient Input field
|
167 |
-
$to_input = '<input type="text" name="mycred_new_transfer[recipient_id]" value="" aria-required="true" class="
|
168 |
|
169 |
// If recipient is set, pre-populate it with the recipients details
|
170 |
if ( $pay_to != '' ) {
|
6 |
* Renders a transfer form that allows users to send points to other users.
|
7 |
* @see http://mycred.me/functions/mycred_transfer_render/
|
8 |
* @since 0.1
|
9 |
+
* @version 1.7.3
|
10 |
*/
|
11 |
if ( ! function_exists( 'mycred_transfer_render' ) ) :
|
12 |
function mycred_transfer_render( $atts, $content = NULL ) {
|
164 |
}
|
165 |
|
166 |
// Recipient Input field
|
167 |
+
$to_input = '<input type="text" name="mycred_new_transfer[recipient_id]" value="" aria-required="true" class="mycred-autofill form-control" data-form="' . $ref . '" placeholder="' . $placeholder . '" />';
|
168 |
|
169 |
// If recipient is set, pre-populate it with the recipients details
|
170 |
if ( $pay_to != '' ) {
|
modules/mycred-module-addons.php
CHANGED
@@ -310,7 +310,7 @@ if ( ! class_exists( 'myCRED_Addons_Module' ) ) :
|
|
310 |
/**
|
311 |
* Admin Page
|
312 |
* @since 0.1
|
313 |
-
* @version 1.2.
|
314 |
*/
|
315 |
public function admin_page() {
|
316 |
|
@@ -367,18 +367,14 @@ if ( ! class_exists( 'myCRED_Addons_Module' ) ) :
|
|
367 |
|
368 |
<a class="more-details" id="<?php echo $aria_action; ?>" href="<?php echo $data['addon_url']; ?>" target="_blank"><?php _e( 'Documentation', 'mycred' ); ?></a>
|
369 |
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
<h2 class="theme-name" id="<?php echo $aria_name; ?>"><?php echo $this->core->template_tags_general( $data['name'] ); ?></h2>
|
376 |
-
<?php endif; ?>
|
377 |
-
|
378 |
-
<div class="theme-actions">
|
379 |
-
<?php echo $this->activate_deactivate( $key ); ?>
|
380 |
-
</div>
|
381 |
|
|
|
|
|
382 |
</div>
|
383 |
|
384 |
</div>
|
310 |
/**
|
311 |
* Admin Page
|
312 |
* @since 0.1
|
313 |
+
* @version 1.2.2
|
314 |
*/
|
315 |
public function admin_page() {
|
316 |
|
367 |
|
368 |
<a class="more-details" id="<?php echo $aria_action; ?>" href="<?php echo $data['addon_url']; ?>" target="_blank"><?php _e( 'Documentation', 'mycred' ); ?></a>
|
369 |
|
370 |
+
<?php if ( $this->is_active( $key ) ) : ?>
|
371 |
+
<h2 class="theme-name" id="<?php echo $aria_name; ?>"><?php echo $this->core->template_tags_general( $data['name'] ); ?></h2>
|
372 |
+
<?php else : ?>
|
373 |
+
<h2 class="theme-name" id="<?php echo $aria_name; ?>"><?php echo $this->core->template_tags_general( $data['name'] ); ?></h2>
|
374 |
+
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
375 |
|
376 |
+
<div class="theme-actions">
|
377 |
+
<?php echo $this->activate_deactivate( $key ); ?>
|
378 |
</div>
|
379 |
|
380 |
</div>
|
mycred.php
CHANGED
@@ -3,10 +3,10 @@
|
|
3 |
* Plugin Name: myCRED
|
4 |
* Plugin URI: https://mycred.me
|
5 |
* Description: An adaptive points management system for WordPress powered websites.
|
6 |
-
* Version: 1.7.9.
|
7 |
* Tags: points, credit, balance, finance, rewards, engagement, woocommerce, bbpress, buddypress
|
8 |
-
* Author:
|
9 |
-
* Author URI:
|
10 |
* Author Email: support@mycred.me
|
11 |
* Requires at least: WP 4.0
|
12 |
* Tested up to: WP 4.8.2
|
@@ -19,7 +19,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
|
|
19 |
final class myCRED_Core {
|
20 |
|
21 |
// Plugin Version
|
22 |
-
public $version = '1.7.9.
|
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.7.9.3
|
7 |
* Tags: points, credit, balance, finance, rewards, engagement, woocommerce, bbpress, buddypress
|
8 |
+
* Author: MyCred
|
9 |
+
* Author URI: https://mycred.me
|
10 |
* Author Email: support@mycred.me
|
11 |
* Requires at least: WP 4.0
|
12 |
* Tested up to: WP 4.8.2
|
19 |
final class myCRED_Core {
|
20 |
|
21 |
// Plugin Version
|
22 |
+
public $version = '1.7.9.3';
|
23 |
|
24 |
// Instnace
|
25 |
protected static $_instance = NULL;
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== myCRED ===
|
2 |
-
Contributors:
|
3 |
Tags: point, credit, loyalty program, engagement, reward
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.7.9.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -11,10 +11,6 @@ An adaptive and powerful points management system for WordPress powered websites
|
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
> #### Plugin Support
|
15 |
-
> Free support is offered via the [myCRED website](https://mycred.me/support/) Monday to Friday 9AM - 5PM (GMT+1). You can consult the [online community](https://mycred.me/support/forums/) for customisations or open a [free support ticket](https://mycred.me/support/) if you can not get myCRED to work as described in the documentation. No support is provided here on the wordpress.org support forum or on any social media account.
|
16 |
-
|
17 |
-
|
18 |
myCRED is an adaptive points management system that lets you build a broad range of point related applications for your WordPress powered website.
|
19 |
Store reward systems, community leaderboards, online banking or monetizing your websites content, are a few examples of the ways myCRED is used.
|
20 |
|
@@ -61,7 +57,7 @@ The most commonly asked customizations for myCRED are available as code snippets
|
|
61 |
|
62 |
= Support =
|
63 |
|
64 |
-
|
65 |
|
66 |
|
67 |
== Installation ==
|
@@ -96,7 +92,7 @@ You can find a list of [frequently asked questions](https://mycred.me/about/faq/
|
|
96 |
|
97 |
== Upgrade Notice ==
|
98 |
|
99 |
-
= 1.7.9.
|
100 |
Bug fixes.
|
101 |
|
102 |
|
@@ -121,9 +117,17 @@ Bug fixes.
|
|
121 |
|
122 |
== Changelog ==
|
123 |
|
124 |
-
= 1.7.9.
|
125 |
-
|
126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
|
128 |
= Previous Versions =
|
129 |
https://mycred.me/support/changelog/
|
1 |
=== myCRED ===
|
2 |
+
Contributors: mycred ,wpexpertsio
|
3 |
Tags: point, credit, loyalty program, engagement, reward
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.7.9.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
11 |
|
12 |
== Description ==
|
13 |
|
|
|
|
|
|
|
|
|
14 |
myCRED is an adaptive points management system that lets you build a broad range of point related applications for your WordPress powered website.
|
15 |
Store reward systems, community leaderboards, online banking or monetizing your websites content, are a few examples of the ways myCRED is used.
|
16 |
|
57 |
|
58 |
= Support =
|
59 |
|
60 |
+
Support is offered on our [myCRED website](https://mycred.me/support/) from Monday to Friday 9AM - 5PM (GMT+5). Submit [customization request](https://mycred.me/customize/request-quote/) or open a [support ticket](https://mycred.me/support/) If you have trouble with myCRED which is not described in documentation also you can consult the [online community](https://mycred.me/support/forums/) for your question. We pay myCRED Store Tokens as a reward on reporting bugs and their fixes as well. Support is not entertained here on the wordpress.org support forum or on any social media account.
|
61 |
|
62 |
|
63 |
== Installation ==
|
92 |
|
93 |
== Upgrade Notice ==
|
94 |
|
95 |
+
= 1.7.9.3 =
|
96 |
Bug fixes.
|
97 |
|
98 |
|
117 |
|
118 |
== Changelog ==
|
119 |
|
120 |
+
= 1.7.9.3 =
|
121 |
+
FIX - Manual badges are not removed when editing a users profile.
|
122 |
+
FIX - Best user shortcode without any requirements causes an invalid SQL query.
|
123 |
+
FIX - Leaderboard with an offset shows an incorrect amount of users.
|
124 |
+
FIX - Ranks based on total balance are assigned as current balance due to bug introduced in 1.7.9.2.
|
125 |
+
TWEAK - Updated how Jetpack subscriptions are checked.
|
126 |
+
TWEAK - Added option to adjust pagination args for front end logs.
|
127 |
+
TWEAK - Updated about page structure.
|
128 |
+
TWEAK - Updated buyCRED Gatways page to start supporting 1.8 ready gateways.
|
129 |
+
TWEAK - Improved overview widget query (thanks Jonathan)
|
130 |
+
Tested with WordPress 4.9 beta 2.
|
131 |
|
132 |
= Previous Versions =
|
133 |
https://mycred.me/support/changelog/
|