WordPress.org

Make WordPress Core

Ticket #20355: 20355.patch

File 20355.patch, 584 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/media.php

     
    13781378 *
    13791379 * @param string $url The URL that should be embedded.
    13801380 * @param array $args Additional arguments and parameters.
    1381  * @return string The original URL on failure or the embed HTML on success.
     1381 * @return bool|string False on failure or the embed HTML on success.
    13821382 */
    13831383function wp_oembed_get( $url, $args = '' ) {
    13841384        require_once( ABSPATH . WPINC . '/class-oembed.php' );