WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/03/2016 03:29:23 AM (3 years ago)
Author:
pento
Message:

Load: Re-add class-feed.php.

class-feed.php is occasionally included directly by custom external code, so should continue to be available. This is deprecated in favour of calling fetch_feed(), however..

Partial revert of [38374].
See #36335, #39027.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-feed.php

    r38373 r39449  
    66 * @subpackage Feed
    77 */
     8
     9_deprecated_file( basename( __FILE__ ), '4.7.0', 'fetch_feed()' );
     10
    811if ( ! class_exists( 'SimplePie', false ) ) {
    912    require_once( ABSPATH . WPINC . '/class-simplepie.php' );
Note: See TracChangeset for help on using the changeset viewer.