Docs: Adjust documentation for the $size
parameter in the get_image_tag
hook doc to clarify the required order of width and height values when an array is passed.
See #34257. Built from https://develop.svn.wordpress.org/trunk@35038 git-svn-id: http://core.svn.wordpress.org/trunk@35003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
698b5f6880
commit
5a0eaa17de
@ -354,7 +354,8 @@ function get_image_tag( $id, $alt, $title, $align, $size = 'medium' ) {
|
|||||||
* @param string $alt Alternate text.
|
* @param string $alt Alternate text.
|
||||||
* @param string $title Attachment title.
|
* @param string $title Attachment title.
|
||||||
* @param string $align Part of the class name for aligning the image.
|
* @param string $align Part of the class name for aligning the image.
|
||||||
* @param string $size Optional. Default is 'medium'.
|
* @param string $size Size of image. Image size or array of width and height values (in that order).
|
||||||
|
* Default 'medium'.
|
||||||
*/
|
*/
|
||||||
return apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size );
|
return apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size );
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35037';
|
$wp_version = '4.4-alpha-35038';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user