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_' ) ) { ?> +