From fb8430946643e276fe7d570af4de979b23f3f0f7 Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@19633 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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