2016-12-02 22:30:42 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Feed API
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Feed
|
2019-10-08 13:19:04 -04:00
|
|
|
* @deprecated 4.7.0
|
2016-12-02 22:30:42 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
_deprecated_file( basename( __FILE__ ), '4.7.0', 'fetch_feed()' );
|
|
|
|
|
External Libraries: Update the SimplePie library to version 1.8.0.
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
2024-09-30 18:50:19 -04:00
|
|
|
if ( ! class_exists( 'SimplePie\SimplePie', false ) ) {
|
2020-02-06 01:33:11 -05:00
|
|
|
require_once ABSPATH . WPINC . '/class-simplepie.php';
|
2016-12-02 22:30:42 -05:00
|
|
|
}
|
|
|
|
|
2020-02-06 01:33:11 -05:00
|
|
|
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';
|