mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Load: remove class-feed.php (There is no class named Feed or WP_Feed, it just loads other classes) and, instead, move the require calls to the only place they are ever included: inside fetch_feed(). This simplifies the include path.
Tested with this feed in a widget: `http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml`. See #36335. git-svn-id: https://develop.svn.wordpress.org/trunk@38374 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -706,6 +706,7 @@ $_old_files = array(
|
||||
// 4.6
|
||||
'wp-admin/includes/class-wp-automatic-upgrader.php', // Wrong file name, see #37628.
|
||||
// 4.7
|
||||
'wp-includes/class-feed.php',
|
||||
'wp-includes/locale.php',
|
||||
'wp-includes/session.php',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user