Docs: The `$size` parameter for the `get_image_tag_class` hook also accepts an array.
See #34257. See [35037]. Built from https://develop.svn.wordpress.org/trunk@35077 git-svn-id: http://core.svn.wordpress.org/trunk@35042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bc631019d0
commit
36ef44735d
|
@ -334,11 +334,11 @@ function get_image_tag( $id, $alt, $title, $align, $size = 'medium' ) {
|
||||||
*
|
*
|
||||||
* @since 2.6.0
|
* @since 2.6.0
|
||||||
*
|
*
|
||||||
* @param string $class CSS class name or space-separated list of classes.
|
* @param string $class CSS class name or space-separated list of classes.
|
||||||
* @param int $id Attachment ID.
|
* @param int $id Attachment ID.
|
||||||
* @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 Size of image. Image size or array of width and height values (in that order).
|
* @param string|array $size Size of image. Image size or array of width and height values (in that order).
|
||||||
* Default 'medium'.
|
* Default 'medium'.
|
||||||
*/
|
*/
|
||||||
$class = apply_filters( 'get_image_tag_class', $class, $id, $align, $size );
|
$class = apply_filters( 'get_image_tag_class', $class, $id, $align, $size );
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35076';
|
$wp_version = '4.4-alpha-35077';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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