From c6609844194be1e318e823a886dc312e8e3adbba Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 31 Jan 2005 01:09:45 +0000 Subject: [PATCH] Remove upgrade-functions include. git-svn-id: https://develop.svn.wordpress.org/trunk@2163 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 5d6306a83a..97577dd636 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -344,8 +344,6 @@ function get_alloptions() { global $wpdb, $wp_queries; $wpdb->hide_errors(); if (!$options = $wpdb->get_results("SELECT option_name, option_value FROM $wpdb->options WHERE autoload = 'yes'")) { - include_once(ABSPATH . '/wp-admin/upgrade-functions.php'); - make_db_current_silent(); $options = $wpdb->get_results("SELECT option_name, option_value FROM $wpdb->options"); } $wpdb->show_errors();