Docs: Add `@see` tags for `wp_get_attachment_image_srcset()` and `wp_get_attachment_image_sizes()`.
Update `@see` tags for `wp_make_content_images_responsive()` and `wp_image_add_srcset_and_sizes()`. Props jaspermdegroot. See #34733. Built from https://develop.svn.wordpress.org/trunk@35715 git-svn-id: http://core.svn.wordpress.org/trunk@35679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
048f327bfc
commit
db4a87b0fd
|
@ -932,6 +932,8 @@ function _wp_get_image_size_from_meta( $size_name, $image_meta ) {
|
|||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @see wp_calculate_image_srcset()
|
||||
*
|
||||
* @param int $attachment_id Image attachment ID.
|
||||
* @param array|string $size Optional. Image size. Accepts any valid image size, or an array of
|
||||
* width and height values in pixels (in that order). Default 'medium'.
|
||||
|
@ -1112,6 +1114,8 @@ function wp_calculate_image_srcset( $size_array, $image_src, $image_meta, $attac
|
|||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @see wp_calculate_image_sizes()
|
||||
*
|
||||
* @param int $attachment_id Image attachment ID.
|
||||
* @param array|string $size Optional. Image size. Accepts any valid image size, or an array of width
|
||||
* and height values in pixels (in that order). Default 'medium'.
|
||||
|
@ -1196,7 +1200,7 @@ function wp_calculate_image_sizes( $size, $image_src = null, $image_meta = null,
|
|||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @see 'wp_image_add_srcset_and_sizes()'
|
||||
* @see wp_image_add_srcset_and_sizes()
|
||||
*
|
||||
* @param string $content The raw post content to be filtered.
|
||||
* @return string Converted content with 'srcset' and 'sizes' attributes added to images.
|
||||
|
@ -1243,8 +1247,8 @@ function wp_make_content_images_responsive( $content ) {
|
|||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @see 'wp_get_attachment_image_srcset()'
|
||||
* @see 'wp_get_attachment_image_sizes()'
|
||||
* @see wp_calculate_image_srcset()
|
||||
* @see wp_calculate_image_sizes()
|
||||
*
|
||||
* @param string $image An HTML 'img' element to be filtered.
|
||||
* @param array $image_meta The image meta data as returned by 'wp_get_attachment_metadata()'.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-beta4-35714';
|
||||
$wp_version = '4.4-beta4-35715';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue