[wp-hackers] Empty Blog Address not allowed

Brad Froehle froe0071 at umn.edu
Tue Jul 6 23:33:07 UTC 2004


Is there a reason why under Options -> General that I can't set 
WordPress Address to '/wp' and Blog address to ''?  I mean, I don't see 
why I'd ever really need the full http://part in there.

Because WordPress won't let me as is.  The offending code is in 
wp-includes/functions.php in the get_settings function.

	if ('home' == $setting && '' == $settings->home)
		return $settings->siteurl;

Why is this necessary?

-Brad Froehle




More information about the hackers mailing list