mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 01:38:35 +00:00
By changing the way the post title is added to the array of data from `$post->post_title` to `get_the_title()`, the title can now be modified using the `the_title` filter. This ensures post titles returned in oEmbed responses are consistent with those that show on a site. Props mheikkila, swissspidy. Fixes #42826. Built from https://develop.svn.wordpress.org/trunk@44907 git-svn-id: http://core.svn.wordpress.org/trunk@44738 1a063a9b-81f0-0310-95a4-ce76da25c4cd