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:
parent
8945a17651
commit
78e80be72f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue