Make WordPress Core

Changeset 39449


Ignore:
Timestamp:
12/03/2016 03:29:23 AM (8 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.

Location:
trunk/src
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update-core.php

    r39140 r39449  
    708708// 4.7
    709709'wp-admin/includes/class-wp-upgrader-skins.php',
    710 'wp-includes/class-feed.php',
     710//Don't delete, yet: wp-includes/class-feed.php',
    711711'wp-includes/locale.php',
    712712'wp-includes/session.php',
  • 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.