If siteurl has a trailing slash, slash it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a72dae49bb
commit
f40db7e33c
|
@ -6,6 +6,7 @@
|
|||
// accessing a single global $all_settings var
|
||||
if (!$_wp_installing) {
|
||||
$siteurl = get_settings('siteurl');
|
||||
if ('/' == substr($siteurl, -1)) $siteurl = substr($siteurl, 0, -1);
|
||||
$blogfilename = get_settings('blogfilename');
|
||||
$blogname = get_settings('blogname');
|
||||
$blogdescription = get_settings('blogdescription');
|
||||
|
|
Loading…
Reference in New Issue