Docs: Add a @since
note about the $srcset
and $sizes
attributes added to wp_get_attachment_image()
.
Follow-up to [34855]. See #51122. git-svn-id: https://develop.svn.wordpress.org/trunk@48853 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
62260b9fbf
commit
4869de2a1c
@ -1002,6 +1002,7 @@ function wp_get_attachment_image_src( $attachment_id, $size = 'thumbnail', $icon
|
||||
* browser scale down the image.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @since 4.4.0 The `$srcset` and `$sizes` attributes were added.
|
||||
* @since 5.5.0 The `$loading` attribute was added.
|
||||
*
|
||||
* @param int $attachment_id Image attachment ID.
|
||||
|
Loading…
Reference in New Issue
Block a user