Version Description
Download this release
Release Info
Developer | ultimatemember |
Plugin | Ultimate Member – User Profile & Membership Plugin |
Version | 1.0.80 |
Comparing to | |
See all releases |
Code changes from version 1.0.79 to 1.0.80
- core/um-actions-account.php +1 -1
- core/um-filters-addons.php +29 -2
- index.php +1 -1
- readme.txt +6 -1
core/um-actions-account.php
CHANGED
@@ -63,7 +63,7 @@
|
|
63 |
global $ultimatemember;
|
64 |
|
65 |
// errors on general tab
|
66 |
-
if ( isset($_POST['um_account_submit']) &&
|
67 |
|
68 |
if ( isset($_POST['first_name']) && strlen(trim( $_POST['first_name'] ) ) == 0 ) {
|
69 |
$ultimatemember->form->add_error('first_name', __('You must provide your first name','ultimatemember') );
|
63 |
global $ultimatemember;
|
64 |
|
65 |
// errors on general tab
|
66 |
+
if ( isset($_POST['um_account_submit']) && $_POST['um_account_submit'] != __('Delete Account','ultimatemember') ) {
|
67 |
|
68 |
if ( isset($_POST['first_name']) && strlen(trim( $_POST['first_name'] ) ) == 0 ) {
|
69 |
$ultimatemember->form->add_error('first_name', __('You must provide your first name','ultimatemember') );
|
core/um-filters-addons.php
CHANGED
@@ -23,18 +23,45 @@
|
|
23 |
$sections[] = array(
|
24 |
|
25 |
'icon' => 'um-faicon-plug',
|
26 |
-
'title' => __( '
|
27 |
|
28 |
);
|
29 |
|
30 |
$sections[] = array(
|
31 |
|
32 |
'subsection' => true,
|
33 |
-
'title' => __( '
|
34 |
'fields' => $array,
|
35 |
|
36 |
);
|
37 |
|
38 |
return $sections;
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
}
|
23 |
$sections[] = array(
|
24 |
|
25 |
'icon' => 'um-faicon-plug',
|
26 |
+
'title' => __( 'Extensions','ultimatemember'),
|
27 |
|
28 |
);
|
29 |
|
30 |
$sections[] = array(
|
31 |
|
32 |
'subsection' => true,
|
33 |
+
'title' => __( 'Tools','ultimatemember'),
|
34 |
'fields' => $array,
|
35 |
|
36 |
);
|
37 |
|
38 |
return $sections;
|
39 |
|
40 |
+
}
|
41 |
+
|
42 |
+
/***
|
43 |
+
*** @licenses
|
44 |
+
***/
|
45 |
+
add_filter("redux/options/um_options/sections", 'um_add_licenses_tab', 9999 );
|
46 |
+
function um_add_licenses_tab($sections){
|
47 |
+
global $ultimatemember;
|
48 |
+
|
49 |
+
$fields = array();
|
50 |
+
$fields = apply_filters('um_licensed_products_settings', $fields );
|
51 |
+
|
52 |
+
if ( $fields ) {
|
53 |
+
|
54 |
+
$sections[] = array(
|
55 |
+
|
56 |
+
'icon' => 'um-faicon-key',
|
57 |
+
'title' => __( 'Licenses','ultimatemember'),
|
58 |
+
'fields' => $fields,
|
59 |
+
'subsection' => false,
|
60 |
+
|
61 |
+
);
|
62 |
+
|
63 |
+
}
|
64 |
+
|
65 |
+
return $sections;
|
66 |
+
|
67 |
}
|
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.80
|
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 |
|
@@ -189,6 +189,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
189 |
|
190 |
== Changelog ==
|
191 |
|
|
|
|
|
|
|
|
|
|
|
192 |
= 1.0.79: March 10, 2015 =
|
193 |
|
194 |
* Tweak: Redux up to date
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.1.1
|
9 |
|
10 |
+
Stable Tag: 1.0.80
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
189 |
|
190 |
== Changelog ==
|
191 |
|
192 |
+
= 1.0.80: March 10, 2015 =
|
193 |
+
|
194 |
+
* Tweak: added licensing support to plugin core
|
195 |
+
* Fixed: issue with account form
|
196 |
+
|
197 |
= 1.0.79: March 10, 2015 =
|
198 |
|
199 |
* Tweak: Redux up to date
|