diff --git a/admin-functions.php b/admin-functions.php index e1403db5..8f3d6d1b 100644 --- a/admin-functions.php +++ b/admin-functions.php @@ -488,7 +488,8 @@ function duplicate_post_copy_attachments( $new_id, $post ) { $cloned_child = [ 'ID' => $new_attachment_id, 'post_title' => $child->post_title, - 'post_exceprt' => $child->post_title, + 'post_excerpt' => $child->post_excerpt, // Caption. + 'post_content' => $child->post_content, // Description. 'post_author' => $new_post_author->ID, ]; wp_update_post( wp_slash( $cloned_child ) );