WordPress/wp-includes/class-simplepie.php

21 lines
453 B
PHP
Raw Normal View History

<?php
2024-10-01 00:50:19 +02:00
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
2024-10-01 00:50:19 +02:00
* @deprecated 6.7.0 Use `SimplePie_Autoloader` instead.
*
* @param string $class Class name.
*/
function wp_simplepie_autoload( $class ) {
2024-10-01 00:50:19 +02:00
_deprecated_function( __FUNCTION__, '6.7.0', 'SimplePie_Autoloader' );
}