From a0bdc5efe48cdbaf5d91b124ff8ee107c49d5f82 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 29 Jan 2017 07:31:29 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-oembed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index b1b7211946..49a189f4fb 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/wp-includes/class-oembed.php @@ -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.