From 4d43d94502c7bb28aeaa6366864ceedf56ae8352 Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Thu, 30 Jan 2025 12:33:49 +0200 Subject: [PATCH] * related to https://github.com/ultimatemember/ultimatemember/commit/8ca44d02a02e887fc4ab9bcb8ea9ff18ab2c0413 --- includes/core/um-actions-global.php | 50 ++++++++++++++++++----------- 1 file changed, 31 insertions(+), 19 deletions(-) diff --git a/includes/core/um-actions-global.php b/includes/core/um-actions-global.php index b1b664d3..fd70d162 100644 --- a/includes/core/um-actions-global.php +++ b/includes/core/um-actions-global.php @@ -13,11 +13,12 @@ function um_add_form_identifier( $args ) { return; } - if ( true === UM()->fields()->editing ) { - ?> - - fields()->set_mode && true !== UM()->fields()->editing ) { + return; } + ?> + + fields()->editing ) { - ?> -

- - -

- fields()->set_mode && true !== UM()->fields()->editing ) { + return; } + ?> +

+ + +

+ fields()->editing ) { - ?> - - fields()->set_mode && true !== UM()->fields()->editing ) { + return; } + ?> + + fields()->set_mode && true !== UM()->fields()->editing ) { + return; + } ?>