Ticket #62009: 62009.patch
| File 62009.patch, 549 bytes (added by , 15 months ago) |
|---|
-
src/wp-admin/includes/media.php
diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 6ec4b6670c..a5197211b8 100644
a b function media_upload_form_handler() { 773 773 $post['menu_order'] = $attachment['menu_order']; 774 774 } 775 775 776 if ( isset( $send_id ) && $attachment_id == $send_id ) {776 if ( isset( $send_id ) && $attachment_id === $send_id ) { 777 777 if ( isset( $attachment['post_parent'] ) ) { 778 778 $post['post_parent'] = $attachment['post_parent']; 779 779 }