require_once() the dashboard include, using ABSPATH. props Viper007Bond. fixes #6356
git-svn-id: http://svn.automattic.com/wordpress/trunk@7504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1276a8283c
commit
4cc8c4e7f8
|
@ -2,7 +2,7 @@
|
|||
|
||||
require_once('admin.php');
|
||||
|
||||
require( './includes/dashboard.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
|
||||
|
||||
wp_dashboard_setup();
|
||||
|
||||
|
|
Loading…
Reference in New Issue