Version Description
Download this release
Release Info
Developer | ultimatemember |
Plugin | Ultimate Member – User Profile & Membership Plugin |
Version | 1.0.90 |
Comparing to | |
See all releases |
Code changes from version 1.0.89 to 1.0.90
- admin/assets/css/um-admin-columns.css +2 -4
- core/lib/upload/um-file-upload.php +1 -1
- core/lib/upload/um-image-upload.php +1 -1
- core/um-short-functions.php +3 -1
- index.php +1 -1
- readme.txt +6 -1
admin/assets/css/um-admin-columns.css
CHANGED
@@ -54,16 +54,14 @@
|
|
54 |
.um-admin-txtspace {margin: 0 0 0 10px;}
|
55 |
|
56 |
.um-adm-ico {
|
57 |
-
font-size:
|
58 |
-
width:
|
59 |
text-align: center;
|
60 |
-
margin-top: 5px;
|
61 |
display: inline-block;
|
62 |
color: #7ACF58;
|
63 |
}
|
64 |
|
65 |
.um-adm-ico.inactive {color: #C74A4A}
|
66 |
-
|
67 |
.um-adm-ico.pointer {cursor: pointer}
|
68 |
|
69 |
.um-admin-icontext i {
|
54 |
.um-admin-txtspace {margin: 0 0 0 10px;}
|
55 |
|
56 |
.um-adm-ico {
|
57 |
+
font-size: 18px;
|
58 |
+
width: 18px;
|
59 |
text-align: center;
|
|
|
60 |
display: inline-block;
|
61 |
color: #7ACF58;
|
62 |
}
|
63 |
|
64 |
.um-adm-ico.inactive {color: #C74A4A}
|
|
|
65 |
.um-adm-ico.pointer {cursor: pointer}
|
66 |
|
67 |
.um-admin-icontext i {
|
core/lib/upload/um-file-upload.php
CHANGED
@@ -32,6 +32,6 @@ if(isset($_FILES[$id]['name'])) {
|
|
32 |
}
|
33 |
|
34 |
} else {
|
35 |
-
$ret['error'] = __('
|
36 |
}
|
37 |
echo json_encode($ret);
|
32 |
}
|
33 |
|
34 |
} else {
|
35 |
+
$ret['error'] = __('A theme or plugin compatibility issue','ultimatemember');
|
36 |
}
|
37 |
echo json_encode($ret);
|
core/lib/upload/um-image-upload.php
CHANGED
@@ -33,6 +33,6 @@ if(isset($_FILES[$id]['name'])) {
|
|
33 |
}
|
34 |
|
35 |
} else {
|
36 |
-
$ret['error'] = __('
|
37 |
}
|
38 |
echo json_encode($ret);
|
33 |
}
|
34 |
|
35 |
} else {
|
36 |
+
$ret['error'] = __('A theme or plugin compatibility issue','ultimatemember');
|
37 |
}
|
38 |
echo json_encode($ret);
|
core/um-short-functions.php
CHANGED
@@ -605,7 +605,9 @@ function um_reset_user() {
|
|
605 |
$role = get_user_meta( $user_id, 'role', true );
|
606 |
$permissions = $ultimatemember->query->role_data( $role );
|
607 |
$permissions = apply_filters('um_user_permissions_filter', $permissions, $user_id);
|
608 |
-
if ( $permissions[ $permission ]
|
|
|
|
|
609 |
return true;
|
610 |
return false;
|
611 |
}
|
605 |
$role = get_user_meta( $user_id, 'role', true );
|
606 |
$permissions = $ultimatemember->query->role_data( $role );
|
607 |
$permissions = apply_filters('um_user_permissions_filter', $permissions, $user_id);
|
608 |
+
if ( isset( $permissions[ $permission ] ) && is_serialized( $permissions[ $permission ] ) )
|
609 |
+
return unserialize( $permissions[ $permission ] );
|
610 |
+
if ( isset( $permissions[ $permission ] ) && $permissions[ $permission ] == 1 )
|
611 |
return true;
|
612 |
return false;
|
613 |
}
|
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.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: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
6 |
+
Version: 1.0.90
|
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.1
|
9 |
|
10 |
-
Stable Tag: 1.0.
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
@@ -203,6 +203,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
203 |
|
204 |
== Changelog ==
|
205 |
|
|
|
|
|
|
|
|
|
|
|
206 |
= 1.0.89: March 18, 2015 =
|
207 |
|
208 |
* Tweak: Major Performance Improvements (beta)
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.1.1
|
9 |
|
10 |
+
Stable Tag: 1.0.90
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
203 |
|
204 |
== Changelog ==
|
205 |
|
206 |
+
= 1.0.90: March 19, 2015 =
|
207 |
+
|
208 |
+
* Tweak: minor admin css changes
|
209 |
+
* Tweak: error message for frontend upload with theme/plugin conflicts
|
210 |
+
|
211 |
= 1.0.89: March 18, 2015 =
|
212 |
|
213 |
* Tweak: Major Performance Improvements (beta)
|