wordpress-develop/src/wp-includes/class-oembed.php
Sergey Biryukov d39bc7e304 General: Use WPINC as a shorter reference to wp-includes in some files.
This brings more consistency with similar `require_once` statements and `_deprecated_file()` calls in other files.

Follow-up to [601], [628], [36693], [44359], [45663], [45678], [52026], 

Props malthert.
See #54233.

git-svn-id: https://develop.svn.wordpress.org/trunk@53518 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-17 11:18:37 +00:00

16 lines
401 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', WPINC . '/class-wp-oembed.php' );
/** WP_oEmbed class */
require_once ABSPATH . WPINC . '/class-wp-oembed.php';