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.
Built from https://develop.svn.wordpress.org/trunk@38734


git-svn-id: http://core.svn.wordpress.org/trunk@38677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Joe McGill 2016-10-05 19:57:28 +00:00
parent 173f9b6f22
commit eed325bbc2
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ function get_image_send_to_editor( $id, $caption, $title, $align, $url = '', $re
$html = '<a href="' . esc_attr( $url ) . '"' . $rel . '>' . $html . '</a>'; $html = '<a href="' . esc_attr( $url ) . '"' . $rel . '>' . $html . '</a>';
/** /**
* 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 * @since 2.5.0
* *

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-alpha-38733'; $wp_version = '4.7-alpha-38734';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.