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
This commit is contained in:
parent
a6ae2bbba5
commit
161b158172
@ -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
Block a user