From 7a4690b48ed5e59123807dec9604b3cc6dd63af2 Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Mon, 15 Jan 2024 10:04:07 +0200 Subject: [PATCH] - fixed #1427 `um_form_version` meta is unique; --- includes/admin/core/class-admin-metabox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/core/class-admin-metabox.php b/includes/admin/core/class-admin-metabox.php index 603426b8..96546ada 100644 --- a/includes/admin/core/class-admin-metabox.php +++ b/includes/admin/core/class-admin-metabox.php @@ -1267,7 +1267,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) { } // Set post meta for legacy support in the future. - add_post_meta( $post_id, 'um_form_version', UM_VERSION ); + add_post_meta( $post_id, 'um_form_version', UM_VERSION, true ); if ( empty( $_POST['post_title'] ) ) { $where = array( 'ID' => $post_id );