Ultimate Member – User Profile & Membership Plugin - Version 1.2.8

Version Description

Download this release

Release Info

Developer ultimatemember
Plugin Icon 128x128 Ultimate Member – User Profile & Membership Plugin
Version 1.2.8
Comparing to
See all releases

Code changes from version 1.2.7 to 1.2.8

admin/core/um-admin-users.php CHANGED
@@ -51,7 +51,7 @@ class UM_Admin_Users {
51
global $pagenow;
52
53
if ( is_admin() && $pagenow == 'users.php' ) {
54
-
55
global $wpdb;
56
57
if (!isset($_REQUEST['orderby'])) {
@@ -73,7 +73,7 @@ class UM_Admin_Users {
73
74
if ( is_admin() && $pagenow=='users.php' && isset($_GET[ $this->custom_role ]) && $_GET[ $this->custom_role ] != '') {
75
76
- $query->role = urldecode($_GET[ $this->custom_role ]);
77
78
global $wpdb;
79
@@ -82,7 +82,7 @@ class UM_Admin_Users {
82
"WHERE 1=1 AND {$wpdb->users}.ID IN (
83
SELECT {$wpdb->usermeta}.user_id FROM $wpdb->usermeta
84
WHERE {$wpdb->usermeta}.meta_key = 'role'
85
- AND {$wpdb->usermeta}.meta_value = '{$query->role}')",
86
$query->query_where
87
);
88
@@ -90,7 +90,7 @@ class UM_Admin_Users {
90
91
if ( is_admin() && $pagenow=='users.php' && isset($_GET[ 'status' ]) && $_GET[ 'status' ] != '') {
92
93
- $query->status = urldecode($_GET[ 'status' ]);
94
95
global $wpdb;
96
@@ -99,7 +99,7 @@ class UM_Admin_Users {
99
"WHERE 1=1 AND {$wpdb->users}.ID IN (
100
SELECT {$wpdb->usermeta}.user_id FROM $wpdb->usermeta
101
WHERE {$wpdb->usermeta}.meta_key = 'account_status'
102
- AND {$wpdb->usermeta}.meta_value = '{$query->status}')",
103
$query->query_where
104
);
105
51
global $pagenow;
52
53
if ( is_admin() && $pagenow == 'users.php' ) {
54
+
55
global $wpdb;
56
57
if (!isset($_REQUEST['orderby'])) {
73
74
if ( is_admin() && $pagenow=='users.php' && isset($_GET[ $this->custom_role ]) && $_GET[ $this->custom_role ] != '') {
75
76
+ $role = urldecode($_GET[ $this->custom_role ]);
77
78
global $wpdb;
79
82
"WHERE 1=1 AND {$wpdb->users}.ID IN (
83
SELECT {$wpdb->usermeta}.user_id FROM $wpdb->usermeta
84
WHERE {$wpdb->usermeta}.meta_key = 'role'
85
+ AND {$wpdb->usermeta}.meta_value = '{$role}')",
86
$query->query_where
87
);
88
90
91
if ( is_admin() && $pagenow=='users.php' && isset($_GET[ 'status' ]) && $_GET[ 'status' ] != '') {
92
93
+ $status = urldecode($_GET[ 'status' ]);
94
95
global $wpdb;
96
99
"WHERE 1=1 AND {$wpdb->users}.ID IN (
100
SELECT {$wpdb->usermeta}.user_id FROM $wpdb->usermeta
101
WHERE {$wpdb->usermeta}.meta_key = 'account_status'
102
+ AND {$wpdb->usermeta}.meta_value = '{$status}')",
103
$query->query_where
104
);
105
core/um-actions-account.php CHANGED
@@ -284,6 +284,10 @@
284
285
<div class="um-account-heading uimob340-hide uimob500-hide"><i class="<?php echo $icon; ?>"></i><?php echo $title; ?></div>
286
287
<?php echo $output; ?>
288
289
<?php do_action('um_after_account_notifications'); ?>
284
285
<div class="um-account-heading uimob340-hide uimob500-hide"><i class="<?php echo $icon; ?>"></i><?php echo $title; ?></div>
286
287
+ <div class="um-field">
288
+ <div class="um-field-label"><label for=""><?php _e('Email me when','ultimatemember'); ?></label><div class="um-clear"></div></div>
289
+ </div>
290
+
291
<?php echo $output; ?>
292
293
<?php do_action('um_after_account_notifications'); ?>
index.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Ultimate Member
4
Plugin URI: http://ultimatemember.com/
5
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
6
- Version: 1.2.7
7
Author: Ultimate Member
8
Author URI: http://ultimatemember.com/
9
*/
3
Plugin Name: Ultimate Member
4
Plugin URI: http://ultimatemember.com/
5
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
6
+ Version: 1.2.8
7
Author: Ultimate Member
8
Author URI: http://ultimatemember.com/
9
*/
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tags: access control, author, authors, author profile, comments, community, comm
7
Requires at least: 4.1
8
Tested up to: 4.2
9
10
- Stable Tag: 1.2.7
11
12
License: GNU Version 2 or Any Later Version
13
@@ -140,6 +140,10 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
140
141
== Changelog ==
142
143
= 1.2.7: April 25, 2015 =
144
145
* Tweak: Compatible with WordPress 4.2
7
Requires at least: 4.1
8
Tested up to: 4.2
9
10
+ Stable Tag: 1.2.8
11
12
License: GNU Version 2 or Any Later Version
13
140
141
== Changelog ==
142
143
+ = 1.2.8: April 25, 2015 =
144
+
145
+ * Fixed: Important WP 4.2 conflict resolved: filtering users in backend
146
+
147
= 1.2.7: April 25, 2015 =
148
149
* Tweak: Compatible with WordPress 4.2