mirror of
git://develop.git.wordpress.org/
synced 2025-01-31 20:38:54 +01:00
Remove upgrade-functions include.
git-svn-id: https://develop.svn.wordpress.org/trunk@2163 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c41a6e5dc8
commit
c660984419
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user