Make WordPress Core

Changeset 40026


Ignore:
Timestamp:
01/29/2017 07:31:29 AM (9 years ago)
Author:
SergeyBiryukov
Message:

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

Props LewisCowles.
Fixes #39292.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r38923 r40026  
    4545     * @var array
    4646     */
    47     private $compat_methods = array( '_fetch_with_format', '_parse_json', '_parse_xml', '_parse_body' );
     47    private $compat_methods = array( '_fetch_with_format', '_parse_json', '_parse_xml', '_parse_xml_body' );
    4848
    4949    /**
Note: See TracChangeset for help on using the changeset viewer.