functions.opengraph.php 1 location
|
@@ 279-282 (lines=4) @@
|
276 |
|
if ( $post_images && ! is_wp_error( $post_images ) ) { |
277 |
|
foreach ( (array) $post_images as $post_image ) { |
278 |
|
$image['src'] = $post_image['src']; |
279 |
|
if ( isset( $post_image['src_width'], $post_image['src_height'] ) ) { |
280 |
|
$image['width'] = $post_image['src_width']; |
281 |
|
$image['height'] = $post_image['src_height']; |
282 |
|
} |
283 |
|
} |
284 |
|
} |
285 |
|
} |
3rd-party/class.jetpack-amp-support.php 1 location
|
@@ 196-199 (lines=4) @@
|
193 |
|
$image['src'] => false, |
194 |
|
) ); |
195 |
|
|
196 |
|
if ( false !== $dimensions[ $image['src'] ] ) { |
197 |
|
$image['src_width'] = $dimensions['width']; |
198 |
|
$image['src_height'] = $dimensions['height']; |
199 |
|
} |
200 |
|
} |
201 |
|
|
202 |
|
$metadata['image'] = array( |