Version Description
Download this release
Release Info
Developer | ultimatemember |
Plugin | ![]() |
Version | 1.0.52 |
Comparing to | |
See all releases |
Code changes from version 1.0.51 to 1.0.52
- admin/assets/css/um-admin-modal.css +17 -0
- admin/core/um-admin-actions-modal.php +1 -3
- admin/core/um-admin-users.php +5 -5
- core/um-short-functions.php +14 -3
- index.php +1 -1
- readme.txt +6 -1
- um-config.php +1 -1
admin/assets/css/um-admin-modal.css
CHANGED
@@ -117,6 +117,23 @@
|
|
117 |
color: #aaa;
|
118 |
}
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
/*
|
121 |
- Conditional fields
|
122 |
*/
|
117 |
color: #aaa;
|
118 |
}
|
119 |
|
120 |
+
.um-admin-infobox p,
|
121 |
+
.um-admin-infobox label {
|
122 |
+
color: #666;
|
123 |
+
}
|
124 |
+
|
125 |
+
.um-admin-infobox p {
|
126 |
+
border-top: 1px solid #e5e5e5;
|
127 |
+
padding-top: 15px;
|
128 |
+
}
|
129 |
+
|
130 |
+
.um-admin-infobox label {
|
131 |
+
font-weight: bold;
|
132 |
+
display: block;
|
133 |
+
color: #333;
|
134 |
+
cursor: default;
|
135 |
+
}
|
136 |
+
|
137 |
/*
|
138 |
- Conditional fields
|
139 |
*/
|
admin/core/um-admin-actions-modal.php
CHANGED
@@ -358,9 +358,7 @@
|
|
358 |
|
359 |
$submitted = um_user('submitted');
|
360 |
|
361 |
-
$
|
362 |
-
|
363 |
-
$output = do_shortcode('[ultimatemember form_id='.$form_id.']');
|
364 |
|
365 |
break;
|
366 |
|
358 |
|
359 |
$submitted = um_user('submitted');
|
360 |
|
361 |
+
$output = um_user_submitted_registration( true );
|
|
|
|
|
362 |
|
363 |
break;
|
364 |
|
admin/core/um-admin-users.php
CHANGED
@@ -172,11 +172,6 @@ class UM_Admin_Users {
|
|
172 |
|
173 |
}
|
174 |
|
175 |
-
// filter by user role
|
176 |
-
if ( isset($_REQUEST['um_filter_role']) ) {
|
177 |
-
exit( wp_redirect( admin_url('users.php?um_role=' . $_REQUEST['um_filter_role'] ) ) );
|
178 |
-
}
|
179 |
-
|
180 |
// bulk edit users
|
181 |
if ( isset($_REQUEST['users']) && is_array($_REQUEST['users']) && isset($_REQUEST['um_bulkedit']) && $_REQUEST['um_bulkedit'] != '' && isset($_REQUEST['um_bulk_action']) && !empty($_REQUEST['um_bulk_action']) ){
|
182 |
|
@@ -216,6 +211,11 @@ class UM_Admin_Users {
|
|
216 |
|
217 |
}
|
218 |
|
|
|
|
|
|
|
|
|
|
|
219 |
}
|
220 |
}
|
221 |
|
172 |
|
173 |
}
|
174 |
|
|
|
|
|
|
|
|
|
|
|
175 |
// bulk edit users
|
176 |
if ( isset($_REQUEST['users']) && is_array($_REQUEST['users']) && isset($_REQUEST['um_bulkedit']) && $_REQUEST['um_bulkedit'] != '' && isset($_REQUEST['um_bulk_action']) && !empty($_REQUEST['um_bulk_action']) ){
|
177 |
|
211 |
|
212 |
}
|
213 |
|
214 |
+
// filter by user role
|
215 |
+
if ( isset($_REQUEST['um_filter_role']) && !$_REQUEST['new_role'] && $_REQUEST['um_filter_role'] ) {
|
216 |
+
exit( wp_redirect( admin_url('users.php?um_role=' . $_REQUEST['um_filter_role'] ) ) );
|
217 |
+
}
|
218 |
+
|
219 |
}
|
220 |
}
|
221 |
|
core/um-short-functions.php
CHANGED
@@ -101,9 +101,12 @@ function um_user_ip() {
|
|
101 |
/***
|
102 |
*** @Get submitted user information
|
103 |
***/
|
104 |
-
function um_user_submitted_registration() {
|
105 |
$output = null;
|
106 |
$data = um_user('submitted');
|
|
|
|
|
|
|
107 |
if ( isset( $data ) && is_array( $data ) ) {
|
108 |
foreach( $data as $k => $v ) {
|
109 |
|
@@ -113,12 +116,20 @@ function um_user_ip() {
|
|
113 |
$v = implode(',', $v );
|
114 |
}
|
115 |
|
116 |
-
|
117 |
-
|
|
|
|
|
|
|
|
|
|
|
118 |
}
|
119 |
|
120 |
}
|
121 |
}
|
|
|
|
|
|
|
122 |
return $output;
|
123 |
}
|
124 |
|
101 |
/***
|
102 |
*** @Get submitted user information
|
103 |
***/
|
104 |
+
function um_user_submitted_registration( $style = false ) {
|
105 |
$output = null;
|
106 |
$data = um_user('submitted');
|
107 |
+
|
108 |
+
if ( $style ) $output .= '<div class="um-admin-infobox">';
|
109 |
+
|
110 |
if ( isset( $data ) && is_array( $data ) ) {
|
111 |
foreach( $data as $k => $v ) {
|
112 |
|
116 |
$v = implode(',', $v );
|
117 |
}
|
118 |
|
119 |
+
if ( $style ) {
|
120 |
+
if ( !$v ) $v = __('(empty)','ultimatemember');
|
121 |
+
$output .= "<p><label>$k</label><span>$v</span></p>";
|
122 |
+
} else {
|
123 |
+
$output .= "$k: $v" . "\r\n";
|
124 |
+
}
|
125 |
+
|
126 |
}
|
127 |
|
128 |
}
|
129 |
}
|
130 |
+
|
131 |
+
if ( $style ) $output .= '</div>';
|
132 |
+
|
133 |
return $output;
|
134 |
}
|
135 |
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: Ultimate Member is a powerful community and membership plugin that allows you to create beautiful community and membership sites with WordPress
|
6 |
-
Version: 1.0.
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
*/
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: Ultimate Member is a powerful community and membership plugin that allows you to create beautiful community and membership sites with WordPress
|
6 |
+
Version: 1.0.52
|
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.1
|
9 |
|
10 |
-
Stable Tag: 1.0.
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
@@ -186,6 +186,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
186 |
|
187 |
== Changelog ==
|
188 |
|
|
|
|
|
|
|
|
|
|
|
189 |
= 1.0.51: February 13, 2015 =
|
190 |
|
191 |
* New: show registration info for each user in users backend
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.1
|
9 |
|
10 |
+
Stable Tag: 1.0.52
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
186 |
|
187 |
== Changelog ==
|
188 |
|
189 |
+
= 1.0.52: February 13, 2015 =
|
190 |
+
|
191 |
+
* Fixed: issue with users backend **update recommended**
|
192 |
+
* Fixed: preview registration info in users backend
|
193 |
+
|
194 |
= 1.0.51: February 13, 2015 =
|
195 |
|
196 |
* New: show registration info for each user in users backend
|
um-config.php
CHANGED
@@ -1696,7 +1696,7 @@ $this->sections[] = array(
|
|
1696 |
array(
|
1697 |
'id' => 'js_css_exlcude_home',
|
1698 |
'type' => 'switch',
|
1699 |
-
'title' => __( 'Never load plugin JS and CSS on homepage
|
1700 |
'default' => 0,
|
1701 |
'desc' => __('This can disable loading plugin js and css files on home page.','ultimatemember'),
|
1702 |
'on' => __('On','ultimatemember'),
|
1696 |
array(
|
1697 |
'id' => 'js_css_exlcude_home',
|
1698 |
'type' => 'switch',
|
1699 |
+
'title' => __( 'Never load plugin JS and CSS on homepage','ultimatemember' ),
|
1700 |
'default' => 0,
|
1701 |
'desc' => __('This can disable loading plugin js and css files on home page.','ultimatemember'),
|
1702 |
'on' => __('On','ultimatemember'),
|