diff --git a/wp-includes/embed.php b/wp-includes/embed.php index c7dfd38761..f7fe10e482 100644 --- a/wp-includes/embed.php +++ b/wp-includes/embed.php @@ -721,7 +721,7 @@ function get_oembed_response_data_rich( $data, $post, $width, $height ) { } if ( $thumbnail_id ) { - list( $thumbnail_url, $thumbnail_width, $thumbnail_height ) = wp_get_attachment_image_src( $thumbnail_id, array( $width, 99999 ) ); + list( $thumbnail_url, $thumbnail_width, $thumbnail_height ) = wp_get_attachment_image_src( $thumbnail_id, array( $width, 0 ) ); $data['thumbnail_url'] = $thumbnail_url; $data['thumbnail_width'] = $thumbnail_width; $data['thumbnail_height'] = $thumbnail_height; diff --git a/wp-includes/version.php b/wp-includes/version.php index ac53f8e809..7c413fafab 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59492'; +$wp_version = '6.8-alpha-59493'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.