mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Admin screens should use the WPINC constant
Props wojtek.szkutnik See #14157. git-svn-id: https://develop.svn.wordpress.org/trunk@28906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -39,7 +39,7 @@ require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
||||
|
||||
/** Load wpdb */
|
||||
require_once( ABSPATH . 'wp-includes/wp-db.php' );
|
||||
require_once( ABSPATH . WPINC . '/wp-db.php' );
|
||||
|
||||
$step = isset( $_GET['step'] ) ? (int) $_GET['step'] : 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user