Docs: Adjust documentation for the `$size` parameter in the `get_image_tag_class` 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@35037 git-svn-id: http://core.svn.wordpress.org/trunk@35002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
71932de1f5
commit
698b5f6880
|
@ -337,7 +337,8 @@ function get_image_tag( $id, $alt, $title, $align, $size = 'medium' ) {
|
|||
* @param string $class CSS class name or space-separated list of classes.
|
||||
* @param int $id Attachment ID.
|
||||
* @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'.
|
||||
*/
|
||||
$class = apply_filters( 'get_image_tag_class', $class, $id, $align, $size );
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35036';
|
||||
$wp_version = '4.4-alpha-35037';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue