Ticket #39521: 39521.diff
File 39521.diff, 457 bytes (added by , 6 years ago) |
---|
-
src/wp-admin/includes/media.php
435 435 'post_parent' => $post_id, 436 436 'post_title' => $title, 437 437 'post_content' => $content, 438 'post_excerpt' => $excerpt, 438 439 ), $post_data ); 439 440 440 441 // This should never be set as it would then overwrite an existing attachment.