diff --git a/wp-includes/embed.php b/wp-includes/embed.php index 5652326f56..2c5aedcaea 100644 --- a/wp-includes/embed.php +++ b/wp-includes/embed.php @@ -539,7 +539,7 @@ function get_oembed_response_data( $post, $width ) { 'provider_url' => get_home_url(), 'author_name' => get_bloginfo( 'name' ), 'author_url' => get_home_url(), - 'title' => $post->post_title, + 'title' => get_the_title( $post ), 'type' => 'link', ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 92cca06b5e..37ec4b5d14 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-alpha-44906'; +$wp_version = '5.2-alpha-44907'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.