mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- prepare release;
This commit is contained in:
@@ -55,7 +55,7 @@ if ( ! class_exists( 'um\core\Validation' ) ) {
|
||||
}
|
||||
|
||||
foreach ( $changes as $key => $value ) {
|
||||
if( !isset( $fields[ $key ] ) ){
|
||||
if ( ! isset( $fields[ $key ] ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -409,19 +409,21 @@ add_action( 'um_before_account_delete', 'um_before_account_delete' );
|
||||
|
||||
/**
|
||||
* Before notifications account tab content
|
||||
*
|
||||
* @param array $args
|
||||
*/
|
||||
function um_before_account_notifications( $args = array() ) {
|
||||
$output = UM()->account()->get_tab_fields( 'notifications', $args );
|
||||
if( substr_count( $output, '_enable_new_' ) ) {
|
||||
?>
|
||||
if ( substr_count( $output, '_enable_new_' ) ) { ?>
|
||||
|
||||
<div class="um-field">
|
||||
<div class="um-field-label">
|
||||
<label for=""><?php _e( 'Email me when', 'ultimate-member' ); ?></label>
|
||||
<div class="um-clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
<?php }
|
||||
}
|
||||
add_action( 'um_before_account_notifications', 'um_before_account_notifications' );
|
||||
|
||||
|
||||
+12
-1
@@ -6,7 +6,7 @@ Donate link:
|
||||
Tags: community, member, membership, user-profile, user-registration
|
||||
Requires at least: 4.9
|
||||
Tested up to: 5.2
|
||||
Stable tag: 2.0.52
|
||||
Stable tag: 2.0.53
|
||||
License: GNU Version 2 or Any Later Version
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
@@ -137,6 +137,17 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
|
||||
= 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 =
|
||||
|
||||
= 2.0.53: July 16, 2019 =
|
||||
|
||||
* Enhancements:
|
||||
- Moved extensions icons to core
|
||||
|
||||
* Bugfixes:
|
||||
- Fixed Profile Tabs Privacy settings
|
||||
- Fixed Notifications Account tab view
|
||||
- Fixed warnings on validation process
|
||||
- Fixed slashes in some texts from options
|
||||
|
||||
= 2.0.52: July 11, 2019 =
|
||||
|
||||
* Enhancements:
|
||||
|
||||
+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.0.52
|
||||
Version: 2.0.53
|
||||
Author: Ultimate Member
|
||||
Author URI: http://ultimatemember.com/
|
||||
Text Domain: ultimate-member
|
||||
|
||||
Reference in New Issue
Block a user