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
This commit is contained in:
parent
418b10e5ae
commit
fb84309466
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue