mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
af0a914d14
This renames the file containing the `WP_oEmbed` class to conform to the coding standards. This commit also includes: - A new `class-oembed.php` that includes the new file, for anyone that may've been including the file directly. - Replaces references to the old filename with the new filename. See #47632. Built from https://develop.svn.wordpress.org/trunk@45663 git-svn-id: http://core.svn.wordpress.org/trunk@45474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
16 lines
410 B
PHP
16 lines
410 B
PHP
<?php
|
|
/**
|
|
* API for fetching the HTML to embed remote content based on a provided URL.
|
|
*
|
|
* This file is deprecated, use 'wp-includes/class-wp-oembed.php' instead.
|
|
*
|
|
* @deprecated 5.3.0
|
|
* @package WordPress
|
|
* @subpackage oEmbed
|
|
*/
|
|
|
|
_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-includes/class-wp-oembed.php' );
|
|
|
|
/** WP_oEmbed class */
|
|
require_once( ABSPATH . 'wp-includes/class-wp-oembed.php' );
|