Paid Memberships Pro - Version 2.2.2

Version Description

  • 2019-11-29 =
  • BUG FIX: Fixed issue with member search.
  • BUG FIX: Fixed issue with custom columns in the members list. (Thanks, Tim Sparks)
Download this release

Release Info

Developer strangerstudios
Plugin Icon 128x128 Paid Memberships Pro
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

CHANGELOG.txt CHANGED
@@ -1,4 +1,8 @@
1
  == Changelog ==
 
 
 
 
2
  = 2.2.1 - 2019-11-27 =
3
  * BUG FIX: Fixed performance issues with the new WP List Table implementation of the members list.
4
  * BUG FIX: Fixed sorting issues with the new members list.
1
  == Changelog ==
2
+ = 2.2.2 - 2019-11-29 =
3
+ * BUG FIX: Fixed issue with member search.
4
+ * BUG FIX: Fixed issue with custom columns in the members list. (Thanks, Tim Sparks)
5
+
6
  = 2.2.1 - 2019-11-27 =
7
  * BUG FIX: Fixed performance issues with the new WP List Table implementation of the members list.
8
  * BUG FIX: Fixed sorting issues with the new members list.
classes/class-pmpro-members-list-table.php CHANGED
@@ -340,7 +340,7 @@ class PMPro_Members_List_Table extends WP_List_Table {
340
  ";
341
 
342
  if ( !empty( $s ) ) {
343
- $sqlQuery .= ' LEFT JOIN $wpdb->usermeta um ON u.ID = um.user_id ';
344
  }
345
 
346
  if ( 'oldmembers' === $l || 'expired' === $l || 'cancelled' === $l ) {
@@ -521,8 +521,8 @@ class PMPro_Members_List_Table extends WP_List_Table {
521
  return apply_filters( 'pmpro_memberslist_expires_column', date_i18n( get_option('date_format'), $item['enddate'] ), $user_object );
522
  }
523
  default:
524
- if ( isset( $item->$column_name ) ) {
525
- return $item->$column_name;
526
  } elseif ( 0 === strpos( $column_name, 'custom_field_' ) ) {
527
  // Re-implementing old hook, will be deprecated.
528
  $user_object = get_userdata( $item['ID'] );
340
  ";
341
 
342
  if ( !empty( $s ) ) {
343
+ $sqlQuery .= " LEFT JOIN $wpdb->usermeta um ON u.ID = um.user_id ";
344
  }
345
 
346
  if ( 'oldmembers' === $l || 'expired' === $l || 'cancelled' === $l ) {
521
  return apply_filters( 'pmpro_memberslist_expires_column', date_i18n( get_option('date_format'), $item['enddate'] ), $user_object );
522
  }
523
  default:
524
+ if ( isset( $item[$column_name] ) ) {
525
+ return $item[$column_name];
526
  } elseif ( 0 === strpos( $column_name, 'custom_field_' ) ) {
527
  // Re-implementing old hook, will be deprecated.
528
  $user_object = get_userdata( $item['ID'] );
paid-memberships-pro.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Paid Memberships Pro
4
  * Plugin URI: https://www.paidmembershipspro.com
5
  * Description: The most complete member management and membership subscriptions plugin for WordPress.
6
- * Version: 2.2.1
7
  * Author: Stranger Studios
8
  * Author URI: https://www.strangerstudios.com
9
  * Text Domain: paid-memberships-pro
@@ -16,7 +16,7 @@
16
  */
17
 
18
  // version constant
19
- define( 'PMPRO_VERSION', '2.2.1' );
20
  define( 'PMPRO_USER_AGENT', 'Paid Memberships Pro v' . PMPRO_VERSION . '; ' . site_url() );
21
  define( 'PMPRO_MIN_PHP_VERSION', '5.6' );
22
 
3
  * Plugin Name: Paid Memberships Pro
4
  * Plugin URI: https://www.paidmembershipspro.com
5
  * Description: The most complete member management and membership subscriptions plugin for WordPress.
6
+ * Version: 2.2.2
7
  * Author: Stranger Studios
8
  * Author URI: https://www.strangerstudios.com
9
  * Text Domain: paid-memberships-pro
16
  */
17
 
18
  // version constant
19
+ define( 'PMPRO_VERSION', '2.2.2' );
20
  define( 'PMPRO_USER_AGENT', 'Paid Memberships Pro v' . PMPRO_VERSION . '; ' . site_url() );
21
  define( 'PMPRO_MIN_PHP_VERSION', '5.6' );
22
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: strangerstudios
3
  Tags: membership, memberships, member, members, ecommerce, e-commerce, paypal, stripe, braintree, authorize.net, payflow, restrict access, restrict content, directory
4
  Requires at least: 4
5
  Tested up to: 5.3
6
- Stable tag: 2.2.1
7
 
8
  Get Paid with Paid Memberships Pro: The most complete member management and membership subscriptions plugin for your WordPress site.
9
 
@@ -128,6 +128,9 @@ Not sure? You can find out by doing a bit a research.
128
  [View All Screenshots](http://www.paidmembershipspro.com/features/screenshots/)
129
 
130
  == Changelog ==
 
 
 
131
 
132
  = 2.2.1 - 2019-11-27 =
133
  * BUG FIX: Fixed performance issues with the new WP List Table implementation of the members list.
3
  Tags: membership, memberships, member, members, ecommerce, e-commerce, paypal, stripe, braintree, authorize.net, payflow, restrict access, restrict content, directory
4
  Requires at least: 4
5
  Tested up to: 5.3
6
+ Stable tag: 2.2.2
7
 
8
  Get Paid with Paid Memberships Pro: The most complete member management and membership subscriptions plugin for your WordPress site.
9
 
128
  [View All Screenshots](http://www.paidmembershipspro.com/features/screenshots/)
129
 
130
  == Changelog ==
131
+ = 2.2.2 - 2019-11-29 =
132
+ * BUG FIX: Fixed issue with member search.
133
+ * BUG FIX: Fixed issue with custom columns in the members list. (Thanks, Tim Sparks)
134
 
135
  = 2.2.1 - 2019-11-27 =
136
  * BUG FIX: Fixed performance issues with the new WP List Table implementation of the members list.