Merge remote-tracking branch 'origin/development/2.8.x' into feature/new_fa

This commit is contained in:
Mykyta Synelnikov
2024-04-25 01:41:04 +03:00
8 changed files with 181 additions and 30 deletions
+3
View File
@@ -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 );