Define parent_file and submenu_file after admin.php is loaded. see #5736

git-svn-id: http://svn.automattic.com/wordpress/trunk@6699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-01-31 21:53:16 +00:00
parent 8945a17651
commit 78e80be72f
1 changed files with 2 additions and 1 deletions

View File

@ -1,8 +1,9 @@
<?php
require_once('admin.php');
$parent_file = 'profile.php';
$submenu_file = 'profile.php';
require_once('admin.php');
check_admin_referer('update-profile_' . $user_ID);