Ticket #34736: 34736.patch
File 34736.patch, 1.0 KB (added by , 8 years ago) |
---|
-
src/wp-includes/media.php
1065 1065 'url' => $image_baseurl . $image['file'], 1066 1066 'descriptor' => 'w', 1067 1067 'value' => $image['width'], 1068 'size' => array( 1069 'width' => $image['width'], 1070 'height' => $image['height'], 1071 ), 1068 1072 ); 1069 1073 } 1070 1074 } … … 1083 1087 * either 'w' or 'x'. 1084 1088 * @type type int $value The source width, if paired with a 'w' descriptor or a 1085 1089 * pixel density value if paired with an 'x' descriptor. 1090 * @type type array $sizes { 1091 * @type int $width Width of the source image. 1092 * @type int $height Height of the source image. 1093 * } 1086 1094 * } 1087 1095 * } 1088 1096 * @param array $size_array Array of width and height values in pixels (in that order).