mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
6f1d48cdf3
`class-feed.php` is occasionally included directly by custom external code, so should continue to be available. This is deprecated in favour of calling `fetch_feed()`, however.. Partial revert of [38374]. See #36335, #39027. Built from https://develop.svn.wordpress.org/trunk@39449 git-svn-id: http://core.svn.wordpress.org/trunk@39389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
18 lines
522 B
PHP
18 lines
522 B
PHP
<?php
|
|
/**
|
|
* Feed API
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Feed
|
|
*/
|
|
|
|
_deprecated_file( basename( __FILE__ ), '4.7.0', 'fetch_feed()' );
|
|
|
|
if ( ! class_exists( 'SimplePie', false ) ) {
|
|
require_once( ABSPATH . WPINC . '/class-simplepie.php' );
|
|
}
|
|
|
|
require_once( ABSPATH . WPINC . '/class-wp-feed-cache.php' );
|
|
require_once( ABSPATH . WPINC . '/class-wp-feed-cache-transient.php' );
|
|
require_once( ABSPATH . WPINC . '/class-wp-simplepie-file.php' );
|
|
require_once( ABSPATH . WPINC . '/class-wp-simplepie-sanitize-kses.php' ); |