Redirect to login before going to profile.php, otherwise any user level will end up at profile.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@825 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6f5ef8887f
commit
6b8ee14b77
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
require('../wp-config.php');
|
||||
require_once('auth.php');
|
||||
|
||||
get_currentuserinfo();
|
||||
|
||||
|
|
Loading…
Reference in New Issue