From 161b1581725cd960cdd1173b996093cc0905a5aa Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 29 Dec 2011 18:45:01 +0000 Subject: [PATCH] Define WPINC in wp-load when wp-config does not exist. see #19651. git-svn-id: https://develop.svn.wordpress.org/trunk@19633 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-load.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-load.php b/wp-load.php index b9ae7e8a08..9afeacd234 100644 --- a/wp-load.php +++ b/wp-load.php @@ -46,6 +46,7 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) { require_once( ABSPATH . '/wp-includes/load.php' ); require_once( ABSPATH . '/wp-includes/version.php' ); define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); + define( 'WPINC', 'wp-includes' ); wp_check_php_mysql_versions(); // Die with an error message