From 5d1f571508e059b106ad293f7304e368dae8a623 Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Wed, 5 Oct 2016 19:56:26 +0000 Subject: [PATCH] Media: Improve docs for `image_send_to_editor` filter. This updates inline docs for the `image_send_to_editor` filter to better describe when it is fired. Props adamsilverstein. Fixes #34823. git-svn-id: https://develop.svn.wordpress.org/trunk@38734 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index a5d81d9a44..1ccb9980d2 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -135,7 +135,7 @@ function get_image_send_to_editor( $id, $caption, $title, $align, $url = '', $re $html = '' . $html . ''; /** - * Filters the image HTML markup to send to the editor. + * Filters the image HTML markup to send to the editor when inserting an image. * * @since 2.5.0 *