diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 887cc7efb2..ae5126f058 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -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()'.