mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 15:16:29 +01:00
ed37f855ce
The most notable change in this update is that all code is now namespaced and uses PSR-4 classes, though there is a compatibility layer available for extenders using the older class names, so plugin or theme authors directly using SimplePie can decide for themselves when they want to change to using the namespaced names for SimplePie classes. Note: This commit includes additional fixes for PHP 8.4 compatibility ([https://github.com/simplepie/simplepie/pull/875 PR 875], [https://github.com/simplepie/simplepie/pull/888 PR 888]) from the `one-dot-eight` branch of SimplePie, which is expected to be [https://github.com/simplepie/simplepie/pull/886 released as SimplePie 1.8.1] soon. References: * [https://github.com/simplepie/simplepie/releases/tag/1.8.0 SimplePie 1.8.0 release notes] * [https://github.com/simplepie/simplepie/releases/tag/1.7.0 SimplePie 1.7.0 release notes] * [https://github.com/simplepie/simplepie/releases/tag/1.6.0 SimplePie 1.6.0 release notes] * [https://github.com/simplepie/simplepie/compare/1.5.8...1.8.0 Full list of changes in SimplePie 1.8.0] Follow-up to [47733], [49176], [52393], [52413]. Props jrf, peterwilsoncc, chaion07, cu121, markparnell, audrasjb, costdev, Presskopp, desrosj, faisal03, mukesh27, SergeyBiryukov. See #55604. Built from https://develop.svn.wordpress.org/trunk@59141 git-svn-id: http://core.svn.wordpress.org/trunk@58537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
20 lines
539 B
PHP
20 lines
539 B
PHP
<?php
|
|
/**
|
|
* Feed API
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Feed
|
|
* @deprecated 4.7.0
|
|
*/
|
|
|
|
_deprecated_file( basename( __FILE__ ), '4.7.0', 'fetch_feed()' );
|
|
|
|
if ( ! class_exists( 'SimplePie\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';
|