diff --git src/wp-includes/media.php src/wp-includes/media.php
index 887cc7e..ae5126f 100644
|
|
function _wp_get_image_size_from_meta( $size_name, $image_meta ) { |
932 | 932 | * |
933 | 933 | * @since 4.4.0 |
934 | 934 | * |
| 935 | * @see wp_calculate_image_srcset() |
| 936 | * |
935 | 937 | * @param int $attachment_id Image attachment ID. |
936 | 938 | * @param array|string $size Optional. Image size. Accepts any valid image size, or an array of |
937 | 939 | * width and height values in pixels (in that order). Default 'medium'. |
… |
… |
function wp_calculate_image_srcset( $size_array, $image_src, $image_meta, $attac |
1112 | 1114 | * |
1113 | 1115 | * @since 4.4.0 |
1114 | 1116 | * |
| 1117 | * @see wp_calculate_image_sizes() |
| 1118 | * |
1115 | 1119 | * @param int $attachment_id Image attachment ID. |
1116 | 1120 | * @param array|string $size Optional. Image size. Accepts any valid image size, or an array of width |
1117 | 1121 | * and height values in pixels (in that order). Default 'medium'. |
… |
… |
function wp_calculate_image_sizes( $size, $image_src = null, $image_meta = null, |
1196 | 1200 | * |
1197 | 1201 | * @since 4.4.0 |
1198 | 1202 | * |
1199 | | * @see 'wp_image_add_srcset_and_sizes()' |
| 1203 | * @see wp_image_add_srcset_and_sizes() |
1200 | 1204 | * |
1201 | 1205 | * @param string $content The raw post content to be filtered. |
1202 | 1206 | * @return string Converted content with 'srcset' and 'sizes' attributes added to images. |
… |
… |
function wp_make_content_images_responsive( $content ) { |
1243 | 1247 | * |
1244 | 1248 | * @since 4.4.0 |
1245 | 1249 | * |
1246 | | * @see 'wp_get_attachment_image_srcset()' |
1247 | | * @see 'wp_get_attachment_image_sizes()' |
| 1250 | * @see wp_calculate_image_srcset() |
| 1251 | * @see wp_calculate_image_sizes() |
1248 | 1252 | * |
1249 | 1253 | * @param string $image An HTML 'img' element to be filtered. |
1250 | 1254 | * @param array $image_meta The image meta data as returned by 'wp_get_attachment_metadata()'. |