From c7cd740684b80f0e62157f642a2c48a2d118943f Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 24 Mar 2008 20:36:46 +0000 Subject: [PATCH] require_once() the dashboard include, using ABSPATH. props Viper007Bond. fixes #6356 git-svn-id: https://develop.svn.wordpress.org/trunk@7504 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index 8ffe51c0f5..7270649cba 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -2,7 +2,7 @@ require_once('admin.php'); -require( './includes/dashboard.php' ); +require_once(ABSPATH . 'wp-admin/includes/dashboard.php'); wp_dashboard_setup();