mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +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
21 lines
453 B
PHP
21 lines
453 B
PHP
<?php
|
|
|
|
if ( class_exists( 'SimplePie', false ) ) {
|
|
return;
|
|
}
|
|
|
|
// Load and register the SimplePie native autoloaders.
|
|
require ABSPATH . WPINC . '/SimplePie/autoloader.php';
|
|
|
|
/**
|
|
* WordPress autoloader for SimplePie.
|
|
*
|
|
* @since 3.5.0
|
|
* @deprecated 6.7.0 Use `SimplePie_Autoloader` instead.
|
|
*
|
|
* @param string $class Class name.
|
|
*/
|
|
function wp_simplepie_autoload( $class ) {
|
|
_deprecated_function( __FUNCTION__, '6.7.0', 'SimplePie_Autoloader' );
|
|
}
|