mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge branch 'master' of https://github.com/ultimatemember/ultimatemember
This commit is contained in:
@@ -43,6 +43,9 @@ GNU Version 2 or Any Later Version
|
||||
## Releases
|
||||
[Official Release Version: 2.1.2](https://github.com/ultimatemember/ultimatemember/releases/tag/2.1.2).
|
||||
|
||||
## Release Candidate
|
||||
[Official Release Version: 2.1.3-RC.1](https://github.com/ultimatemember/ultimatemember/releases/tag/2.1.3-rc.1).
|
||||
|
||||
## Changelog
|
||||
[ From v1.0.0 to latest version ](https://wordpress.org/plugins/ultimate-member/changelog/).
|
||||
|
||||
|
||||
@@ -1112,12 +1112,29 @@ jQuery(document.body).ready( function() {
|
||||
} else if ( type === 'slider' ) {
|
||||
um_set_url_from_data( directory, 'filter_' + filter_name + '_from','' );
|
||||
um_set_url_from_data( directory, 'filter_' + filter_name + '_to', '' );
|
||||
|
||||
|
||||
var $slider = jQuery( '.um-search-filter #' + filter_name + '_min' ).siblings('.um-slider');
|
||||
var options = $slider.slider( 'option' );
|
||||
|
||||
$slider.slider( 'values', [ options.min, options.max ] );
|
||||
|
||||
jQuery( '.um-search-filter #' + filter_name + '_min' ).val('');
|
||||
jQuery( '.um-search-filter #' + filter_name + '_max' ).val('');
|
||||
|
||||
um_set_range_label( $slider );
|
||||
} else if ( type === 'datepicker' ) {
|
||||
um_set_url_from_data( directory, 'filter_' + filter_name + '_from','' );
|
||||
um_set_url_from_data( directory, 'filter_' + filter_name + '_to', '' );
|
||||
|
||||
jQuery( '.um-search-filter #' + filter_name + '_from' ).val('');
|
||||
jQuery( '.um-search-filter #' + filter_name + '_to' ).val('');
|
||||
} else if ( type === 'timepicker' ) {
|
||||
um_set_url_from_data( directory, 'filter_' + filter_name + '_from','' );
|
||||
um_set_url_from_data( directory, 'filter_' + filter_name + '_to', '' );
|
||||
|
||||
jQuery( '.um-search-filter #' + filter_name + '_from' ).val('');
|
||||
jQuery( '.um-search-filter #' + filter_name + '_to' ).val('');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -209,8 +209,12 @@ function um_convert_tags( $content, $args = array(), $with_kses = true ) {
|
||||
// Support for all usermeta keys
|
||||
if ( ! empty( $matches[1] ) && is_array( $matches[1] ) ) {
|
||||
foreach ( $matches[1] as $match ) {
|
||||
$strip_key = str_replace( 'usermeta:', '', $match );
|
||||
$content = str_replace( '{' . $match . '}', um_user( $strip_key ), $content );
|
||||
$key = str_replace( 'usermeta:', '', $match );
|
||||
$value = um_user( $key );
|
||||
if ( is_array( $value ) ) {
|
||||
$value = implode( ', ', $value );
|
||||
}
|
||||
$content = str_replace( '{' . $match . '}', apply_filters( 'um_convert_tags', $value, $key ), $content );
|
||||
}
|
||||
}
|
||||
return $content;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Ultimate Member\n"
|
||||
"POT-Creation-Date: 2020-01-13 11:21+0200\n"
|
||||
"PO-Revision-Date: 2020-01-13 11:21+0200\n"
|
||||
"POT-Creation-Date: 2020-01-13 16:46+0200\n"
|
||||
"PO-Revision-Date: 2020-01-13 16:46+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: en_US\n"
|
||||
@@ -7802,11 +7802,11 @@ msgstr ""
|
||||
msgid "Login as this user"
|
||||
msgstr ""
|
||||
|
||||
#: includes/um-short-functions.php:746
|
||||
#: includes/um-short-functions.php:750
|
||||
msgid "date submitted"
|
||||
msgstr ""
|
||||
|
||||
#: includes/um-short-functions.php:752
|
||||
#: includes/um-short-functions.php:756
|
||||
msgid "(empty)"
|
||||
msgstr ""
|
||||
|
||||
|
||||
+14
-1
@@ -145,16 +145,29 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
* To learn more about version 2.1 please see this [topic](https://wordpress.org/support/topic/version-2-1-4/)
|
||||
* UM2.1+ is a significant update to the Member Directories' code base from 2.0.x. Please make sure you take a full-site backup with restore point before updating the plugin
|
||||
|
||||
= 2.1.3: December xx, 2019 =
|
||||
= 2.1.3: January 15, 2020 =
|
||||
|
||||
* Enhancements:
|
||||
|
||||
- Added sorting by Last & First name
|
||||
- Added integrations with future extensions
|
||||
- Added filter for changing the order of options in select-type filter
|
||||
- Added GDPR template to get overwritten in the theme directory
|
||||
- Added member directories' custom sorting labels
|
||||
- Added ability to use custom metatable for faster requests for Member Directories
|
||||
|
||||
* Bugfixes:
|
||||
|
||||
- Fixed [um_loggedin] shortcode render with htmlspecialchars_decode
|
||||
- Fixed checkbox options missing selections with conditional settings
|
||||
- Fixed vulnerability with uploading cover/profile photo for other user ID
|
||||
- Fixed issues with pagination settings
|
||||
- Fixed search line additional slashes
|
||||
- Fixed issues with member results JS template
|
||||
- Fixed getting posts count at the Posts tab for 3rd party integrations
|
||||
- Fixed member directories' admin filtering
|
||||
- Fixed issue with reset filters on member directory
|
||||
- Fixed um_convert_tags for array-type values
|
||||
- Fixed small CSS issues
|
||||
|
||||
= 2.1.2: December 4, 2019 =
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
Plugin Name: Ultimate Member
|
||||
Plugin URI: http://ultimatemember.com/
|
||||
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
||||
Version: 2.1.3-beta3
|
||||
Version: 2.1.3-rc.1
|
||||
Author: Ultimate Member
|
||||
Author URI: http://ultimatemember.com/
|
||||
Text Domain: ultimate-member
|
||||
|
||||
Reference in New Issue
Block a user