From 223b79162cb62e996c8346218400afd845140f25 Mon Sep 17 00:00:00 2001 From: wonderboymusic Date: Fri, 26 Aug 2016 17:43:03 +0000 Subject: [PATCH] Load: remove `session.php` and, instead, move the 2 `require` calls to `wp-settings.php`. This simplifies the include path. See #36335. git-svn-id: https://develop.svn.wordpress.org/trunk@38373 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/update-core.php | 1 + src/wp-includes/session.php | 9 --------- src/wp-settings.php | 3 ++- 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 src/wp-includes/session.php diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php index 50ce6ddb93..d18675b797 100644 --- a/src/wp-admin/includes/update-core.php +++ b/src/wp-admin/includes/update-core.php @@ -707,6 +707,7 @@ $_old_files = array( 'wp-admin/includes/class-wp-automatic-upgrader.php', // Wrong file name, see #37628. // 4.7 'wp-includes/locale.php', +'wp-includes/session.php', ); /** diff --git a/src/wp-includes/session.php b/src/wp-includes/session.php deleted file mode 100644 index 380d6398e5..0000000000 --- a/src/wp-includes/session.php +++ /dev/null @@ -1,9 +0,0 @@ -