Docs: Specify the default image size in the `$size` parameter description for the `image_send_to_editor` hook.
See #34257. See #32246. See [35058]. Built from https://develop.svn.wordpress.org/trunk@35080 git-svn-id: http://core.svn.wordpress.org/trunk@35045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f7e92fc346
commit
8b49acdd0e
|
@ -142,7 +142,7 @@ function get_image_send_to_editor( $id, $caption, $title, $align, $url = '', $re
|
||||||
* @param string $align The image alignment.
|
* @param string $align The image alignment.
|
||||||
* @param string $url The image source URL.
|
* @param string $url The image source URL.
|
||||||
* @param string|array $size Size of image. Image size or array of width and height values
|
* @param string|array $size Size of image. Image size or array of width and height values
|
||||||
* (in that order).
|
* (in that order). Default 'medium'.
|
||||||
* @param string $alt The image alternative, or alt, text.
|
* @param string $alt The image alternative, or alt, text.
|
||||||
*/
|
*/
|
||||||
$html = apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt );
|
$html = apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt );
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35079';
|
$wp_version = '4.4-alpha-35080';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue