mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed #1427 um_form_version meta is unique;
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user