"Fossies" - the Fresh Open Source Software Archive

Member "wordpress/wp-includes/class-feed.php" (6 Feb 2020, 529 Bytes) of package /linux/www/wordpress-5.7-RC1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "class-feed.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 /**
    3  * Feed API
    4  *
    5  * @package WordPress
    6  * @subpackage Feed
    7  * @deprecated 4.7.0
    8  */
    9 
   10 _deprecated_file( basename( __FILE__ ), '4.7.0', 'fetch_feed()' );
   11 
   12 if ( ! class_exists( 'SimplePie', false ) ) {
   13     require_once ABSPATH . WPINC . '/class-simplepie.php';
   14 }
   15 
   16 require_once ABSPATH . WPINC . '/class-wp-feed-cache.php';
   17 require_once ABSPATH . WPINC . '/class-wp-feed-cache-transient.php';
   18 require_once ABSPATH . WPINC . '/class-wp-simplepie-file.php';
   19 require_once ABSPATH . WPINC . '/class-wp-simplepie-sanitize-kses.php';