From 3cc3e289d387fd6a794be9a0a5f07c3df0599a8b Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 14 Oct 2010 20:39:23 +0000 Subject: [PATCH] Require plugin.php earlier so all pluggables can get at it. Props skeltoac. fixes #15042 git-svn-id: https://develop.svn.wordpress.org/trunk@15811 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index 6e35a8e6e7..a66e3fe2d0 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -66,6 +66,7 @@ wp_set_lang_dir(); require( ABSPATH . WPINC . '/compat.php' ); require( ABSPATH . WPINC . '/functions.php' ); require( ABSPATH . WPINC . '/classes.php' ); +require( ABSPATH . WPINC . '/plugin.php' ); // Include the wpdb class and, if present, a db.php database drop-in. require_wp_db(); @@ -77,7 +78,6 @@ wp_set_wpdb_vars(); wp_start_object_cache(); // Load early WordPress files. -require( ABSPATH . WPINC . '/plugin.php' ); require( ABSPATH . WPINC . '/default-filters.php' ); require( ABSPATH . WPINC . '/pomo/mo.php' );