mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- added 'um_form_version' postmeta for make the legacy functionality in the future;
This commit is contained in:
@@ -1181,6 +1181,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set post meta for legacy support in the future.
|
||||
add_post_meta( $post_id, 'um_form_version', UM_VERSION );
|
||||
|
||||
if ( empty( $_POST['post_title'] ) ) {
|
||||
$where = array( 'ID' => $post_id );
|
||||
// translators: %s: Form id.
|
||||
|
||||
Reference in New Issue
Block a user