Embeds: After [31148], list correct method in WP_oEmbed::$compat_methods.

Props LewisCowles.
Fixes #39292.

git-svn-id: https://develop.svn.wordpress.org/trunk@40026 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-01-29 07:31:29 +00:00
parent e859050b34
commit a0bdc5efe4

View File

@ -44,7 +44,7 @@ class WP_oEmbed {
* @access private
* @var array
*/
private $compat_methods = array( '_fetch_with_format', '_parse_json', '_parse_xml', '_parse_body' );
private $compat_methods = array( '_fetch_with_format', '_parse_json', '_parse_xml', '_parse_xml_body' );
/**
* Constructor.