mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 11:46:27 +09:00
Merge remote-tracking branch 'origin/development/2.8.x' into feature/new_fa
This commit is contained in:
@@ -1809,6 +1809,9 @@ if ( ! class_exists( 'um\admin\Admin' ) ) {
|
||||
'post_title' => sprintf( __( 'Duplicate of %s', 'ultimate-member' ), get_the_title( $post_id ) ),
|
||||
'post_status' => 'publish',
|
||||
'post_author' => get_current_user_id(),
|
||||
'meta_input' => array(
|
||||
'_um_mode' => get_post_meta( $post_id, '_um_mode', true ),
|
||||
),
|
||||
);
|
||||
|
||||
$n_id = wp_insert_post( $n );
|
||||
|
||||
Reference in New Issue
Block a user