From eed325bbc24b7dac40ccb79a019d4fdab7eec778 Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Wed, 5 Oct 2016 19:57:28 +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. Built from https://develop.svn.wordpress.org/trunk@38734 git-svn-id: http://core.svn.wordpress.org/trunk@38677 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index a5d81d9a44..1ccb9980d2 100644 --- a/wp-admin/includes/media.php +++ b/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 * diff --git a/wp-includes/version.php b/wp-includes/version.php index c08ee58ce1..56417d16de 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.