Question to parameter $scheme: the function wp_register calls site_url with $scheme = 'register', what happens then ?
Okay, this is obvious to those who have been working with it, but for those who are just dropping in, let's consider the case where the WordPress core files are installed in a subdirectory (say "blog") of the site http://example.com
These agree with each other and with the setting of "WordPress Address" in General Settings.
But this is different and retrieves the value of "Site Address (URL)" in General Settings
It may be best to avoid 'siteurl/site_url' and use
Converting2wp 03:06, 27 December 2011 (UTC)