Docs: Adjust documentation for the `$size` parameter in the `image_send_to_editor` hook doc to clarify the required order of width and height values when an array is passed.
Also adds the `array` type to the parameter documentation (already supported). See #34257. Built from https://develop.svn.wordpress.org/trunk@35058 git-svn-id: http://core.svn.wordpress.org/trunk@35023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4534f13149
commit
c12f0caefd
|
@ -141,7 +141,8 @@ function get_image_send_to_editor( $id, $caption, $title, $align, $url = '', $re
|
|||
* @param string $title The image title.
|
||||
* @param string $align The image alignment.
|
||||
* @param string $url The image source URL.
|
||||
* @param string $size The image size.
|
||||
* @param string|array $size Size of image. Image size or array of width and height values
|
||||
* (in that order).
|
||||
* @param string $alt The image alternative, or alt, text.
|
||||
*/
|
||||
$html = apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35057';
|
||||
$wp_version = '4.4-alpha-35058';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue