diff --git a/src/wp-includes/embed.php b/src/wp-includes/embed.php index 7cce664548..24edbca1e0 100644 --- a/src/wp-includes/embed.php +++ b/src/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', );