Redirect to login before going to profile.php, otherwise any user level will end up at profile.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3f247c34d6
commit
37c1c275bf
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
require('../wp-config.php');
|
||||
require_once('auth.php');
|
||||
|
||||
get_currentuserinfo();
|
||||
|
||||
|
|
Loading…
Reference in New Issue