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

Working on Shyahi.

Visit homepage for more information.


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?