diff --git src/wp-includes/media.php src/wp-includes/media.php
index 887cc7e..49ee901 100644
|
|
function wp_calculate_image_srcset( $size_array, $image_src, $image_meta, $attac |
1078 | 1078 | * @param array $sources { |
1079 | 1079 | * One or more arrays of source data to include in the 'srcset'. |
1080 | 1080 | * |
1081 | | * @type type array $width { |
1082 | | * @type type string $url The URL of an image source. |
1083 | | * @type type string $descriptor The descriptor type used in the image candidate string, |
1084 | | * either 'w' or 'x'. |
1085 | | * @type type int $value The source width, if paired with a 'w' descriptor or a |
1086 | | * pixel density value if paired with an 'x' descriptor. |
| 1081 | * @type array $width { |
| 1082 | * @type string $url The URL of an image source. |
| 1083 | * @type string $descriptor The descriptor type used in the image candidate string, |
| 1084 | * either 'w' or 'x'. |
| 1085 | * @type int $value The source width if paired with a 'w' descriptor, or a |
| 1086 | * pixel density value if paired with an 'x' descriptor. |
1087 | 1087 | * } |
1088 | 1088 | * } |
1089 | 1089 | * @param array $size_array Array of width and height values in pixels (in that order). |