Ultimate Member – User Profile & Membership Plugin - Version 2.0.43

Version Description

Download this release

Release Info

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

Code changes from version 2.0.42 to 2.0.43

includes/admin/core/class-admin-enqueue.php CHANGED
@@ -445,7 +445,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Enqueue' ) ) {
445
return;
446
}
447
448
- wp_register_script( 'um-blocks-shortcode-js', $this->js_url . 'um-admin-blocks-shortcode.js', array( 'wp-i18n', 'wp-blocks', 'wp-components' ), ultimatemember_version, true );
449
wp_set_script_translations( 'um-blocks-shortcode-js', 'ultimate-member' );
450
wp_enqueue_script( 'um-blocks-shortcode-js' );
451
445
return;
446
}
447
448
+ wp_register_script( 'um-blocks-shortcode-js', $this->js_url . 'um-admin-blocks-shortcode.js', array( 'wp-i18n', 'wp-blocks', 'wp-components', 'rich-text' ), ultimatemember_version, true );
449
wp_set_script_translations( 'um-blocks-shortcode-js', 'ultimate-member' );
450
wp_enqueue_script( 'um-blocks-shortcode-js' );
451
includes/core/class-builtin.php CHANGED
@@ -734,15 +734,15 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
734
),
735
736
'user_url' => array(
737
- 'title' => __('Website URL','ultimate-member'),
738
- 'metakey' => 'user_url',
739
- 'type' => 'url',
740
- 'label' => __('Website URL','ultimate-member'),
741
- 'required' => 1,
742
- 'public' => 1,
743
- 'editable' => 1,
744
- 'validate' => 'url'
745
- ),
746
747
'user_registered' => array(
748
'title' => __('Registration Date','ultimate-member'),
734
),
735
736
'user_url' => array(
737
+ 'title' => __('Website URL','ultimate-member'),
738
+ 'metakey' => 'user_url',
739
+ 'type' => 'url',
740
+ 'label' => __('Website URL','ultimate-member'),
741
+ 'required' => 1,
742
+ 'public' => 1,
743
+ 'editable' => 1,
744
+ 'validate' => 'url'
745
+ ),
746
747
'user_registered' => array(
748
'title' => __('Registration Date','ultimate-member'),
includes/core/um-filters-members.php CHANGED
@@ -451,13 +451,13 @@ add_filter( 'um_prepare_user_query_args', 'um_prepare_user_query_args', 10, 2 );
451
function um_sortby_last_login( $query_args, $sortby ) {
452
if ( $sortby == 'last_login' ) {
453
$query_args['orderby'] = array( 'um_last_login' => 'DESC' );
454
- $query_args['meta_query']['um_last_login'] = array(
455
'relation' => 'OR',
456
array(
457
'key' => '_um_last_login',
458
'compare' => 'EXISTS',
459
),
460
- array(
461
'key' => '_um_last_login',
462
'compare' => 'NOT EXISTS',
463
),
451
function um_sortby_last_login( $query_args, $sortby ) {
452
if ( $sortby == 'last_login' ) {
453
$query_args['orderby'] = array( 'um_last_login' => 'DESC' );
454
+ $query_args['meta_query'][] = array(
455
'relation' => 'OR',
456
array(
457
'key' => '_um_last_login',
458
'compare' => 'EXISTS',
459
),
460
+ 'um_last_login' => array(
461
'key' => '_um_last_login',
462
'compare' => 'NOT EXISTS',
463
),
languages/ultimate-member-en_US.mo CHANGED
Binary file
languages/ultimate-member-en_US.po CHANGED
@@ -1,8 +1,8 @@
1
msgid ""
2
msgstr ""
3
"Project-Id-Version: Ultimate Member\n"
4
- "POT-Creation-Date: 2019-03-28 14:53+0200\n"
5
- "PO-Revision-Date: 2019-03-28 14:53+0200\n"
6
"Last-Translator: \n"
7
"Language-Team: \n"
8
"Language: en_US\n"
1
msgid ""
2
msgstr ""
3
"Project-Id-Version: Ultimate Member\n"
4
+ "POT-Creation-Date: 2019-03-29 11:18+0200\n"
5
+ "PO-Revision-Date: 2019-03-29 11:18+0200\n"
6
"Last-Translator: \n"
7
"Language-Team: \n"
8
"Language: en_US\n"
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link:
6
Tags: community, member, membership, user-profile, user-registration
7
Requires at least: 4.7
8
Tested up to: 5.1
9
- Stable tag: 2.0.42
10
License: GNU Version 2 or Any Later Version
11
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12
@@ -133,6 +133,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
133
134
= Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin =
135
136
= 2.0.42: March 28, 2019 =
137
138
* Enhancements:
6
Tags: community, member, membership, user-profile, user-registration
7
Requires at least: 4.7
8
Tested up to: 5.1
9
+ Stable tag: 2.0.43
10
License: GNU Version 2 or Any Later Version
11
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12
133
134
= Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin =
135
136
+ = 2.0.43: March 29, 2019 =
137
+
138
+ * Bugfixes:
139
+ - Fixed Last Login order in Member Directory
140
+
141
= 2.0.42: March 28, 2019 =
142
143
* Enhancements:
ultimate-member.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: 2.0.42
7
Author: Ultimate Member
8
Author URI: http://ultimatemember.com/
9
Text Domain: ultimate-member
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: 2.0.43
7
Author: Ultimate Member
8
Author URI: http://ultimatemember.com/
9
Text Domain: ultimate-member