103 reputation
4
bio website sapandiwakar.in
location Lausanne, Switzerland
age
visits member for 2 years, 8 months
seen Nov 20 '13 at 10:47

Working on Shyahi.

Visit homepage for more information.


Sep
24
awarded  Autobiographer
Nov
19
awarded  Popular Question
Mar
10
awarded  Supporter
Mar
10
awarded  Scholar
Mar
10
accepted Get user info outside Wordpress
Mar
10
comment Get user info outside Wordpress
Wooo! You made my day. Thank you very much :D
Mar
10
comment Get user info outside Wordpress
chdir ($WP_relpath); require_once('./wp-load.php'); require_once('./wp-includes/registration.php'); $wpuser=wp_get_current_user();. I am doing this inside a mediawiki UserLoadFromSession hook, if that helps. I also checked that the directory is successfully changed using getcwd(); after I chdir()ed.
Mar
10
comment Get user info outside Wordpress
Doesn't work for me. Can you help me understand better?
Mar
9
asked Get user info outside Wordpress