From dea3112dde411d887bc7e86c1fe96bf224122700 Mon Sep 17 00:00:00 2001 From: nikitasinelnikov Date: Tue, 16 Jul 2019 14:24:12 +0300 Subject: [PATCH] - prepare release; --- includes/core/class-validation.php | 2 +- includes/core/um-actions-account.php | 10 ++++++---- readme.txt | 13 ++++++++++++- ultimate-member.php | 2 +- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/includes/core/class-validation.php b/includes/core/class-validation.php index 5406e9d6..a296d5f0 100644 --- a/includes/core/class-validation.php +++ b/includes/core/class-validation.php @@ -55,7 +55,7 @@ if ( ! class_exists( 'um\core\Validation' ) ) { } foreach ( $changes as $key => $value ) { - if( !isset( $fields[ $key ] ) ){ + if ( ! isset( $fields[ $key ] ) ) { continue; } diff --git a/includes/core/um-actions-account.php b/includes/core/um-actions-account.php index 9aec39ed..e3fde91b 100644 --- a/includes/core/um-actions-account.php +++ b/includes/core/um-actions-account.php @@ -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_' ) ) { ?> +
-