diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 67dd936895..e9f8fffa68 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -439,28 +439,8 @@ function media_upload_form_handler() { $rel = " rel='attachment wp-att-" . esc_attr($send_id)."'"; $html = "$html"; } - - - - + $html = apply_filters('media_send_to_editor', $html, $send_id, $attachment); - - - - - - - - - - - - - - - - - return media_send_to_editor($html); }