From 0b1ff178a7e40c8584d7b2680e8bb9b55c3c1d14 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Sat, 3 Dec 2016 03:29:23 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@39449 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/update-core.php | 2 +- src/wp-includes/class-feed.php | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 src/wp-includes/class-feed.php diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php index 645a3465f9..ee4c30138a 100644 --- a/src/wp-admin/includes/update-core.php +++ b/src/wp-admin/includes/update-core.php @@ -707,7 +707,7 @@ $_old_files = array( 'wp-admin/includes/class-wp-automatic-upgrader.php', // Wrong file name, see #37628. // 4.7 'wp-admin/includes/class-wp-upgrader-skins.php', -'wp-includes/class-feed.php', +//Don't delete, yet: wp-includes/class-feed.php', 'wp-includes/locale.php', 'wp-includes/session.php', 'wp-includes/customize/class-wp-customize-themes-panel.php', // Removed in beta; when the feature comes back remember to remove it from this array. See #37661. diff --git a/src/wp-includes/class-feed.php b/src/wp-includes/class-feed.php new file mode 100644 index 0000000000..62dd1195df --- /dev/null +++ b/src/wp-includes/class-feed.php @@ -0,0 +1,18 @@ +