If siteurl has a trailing slash, slash it.
git-svn-id: https://develop.svn.wordpress.org/trunk@481 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b523fd2a23
commit
96f0bf4d52
@ -6,6 +6,7 @@
|
|||||||
// accessing a single global $all_settings var
|
// accessing a single global $all_settings var
|
||||||
if (!$_wp_installing) {
|
if (!$_wp_installing) {
|
||||||
$siteurl = get_settings('siteurl');
|
$siteurl = get_settings('siteurl');
|
||||||
|
if ('/' == substr($siteurl, -1)) $siteurl = substr($siteurl, 0, -1);
|
||||||
$blogfilename = get_settings('blogfilename');
|
$blogfilename = get_settings('blogfilename');
|
||||||
$blogname = get_settings('blogname');
|
$blogname = get_settings('blogname');
|
||||||
$blogdescription = get_settings('blogdescription');
|
$blogdescription = get_settings('blogdescription');
|
||||||
|
Loading…
Reference in New Issue
Block a user