From 6c3fc2a3058d815f32337fb3f2b7cee20fca8fc8 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Sat, 24 May 2003 21:50:22 +0000 Subject: [PATCH] Removed $pathserver. Now use $siteurl everywhere. git-svn-id: https://develop.svn.wordpress.org/trunk@83 602fd350-edb4-49c9-b593-d223f7449a82 --- b2-include/b2template.functions.php | 10 +++++----- b2config.php | 14 ++------------ b2login.php | 10 +++++----- blog.header.php | 2 +- wp-admin/b2menutop.php | 2 +- wp-admin/b2profile.php | 6 +++--- wp-admin/b2sidebar.php | 4 ++-- 7 files changed, 19 insertions(+), 29 deletions(-) diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index d3f4fd1f13..8864a58acf 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -40,7 +40,7 @@ function bloginfo_unicode($show='') { } function get_bloginfo($show='') { - global $siteurl, $blogfilename, $blogname, $blogdescription, $pathserver, $admin_email; + global $siteurl, $blogfilename, $blogname, $blogdescription, $siteurl, $admin_email; switch($show) { case "url": $output = $siteurl."/".$blogfilename; @@ -58,7 +58,7 @@ function get_bloginfo($show='') { $output = $siteurl.'/b2rss2.php'; break; case "pingback_url": - $output = $pathserver.'/xmlrpc.php'; + $output = $siteurl.'/xmlrpc.php'; break; case "admin_email": $output = $admin_email; @@ -1083,8 +1083,8 @@ function comment_time($d='') { /***** TrackBack tags *****/ function trackback_url($display = 1) { - global $pathserver, $id; - $tb_url = $pathserver.'/b2trackback.php/'.$id; + global $siteurl, $id; + $tb_url = $siteurl.'/b2trackback.php/'.$id; if ($display) { echo $tb_url; } else { @@ -1136,7 +1136,7 @@ function trackback_popup_link($zero='no trackback', $one='1 trackback', $more='% } function trackback_rdf($timezone=0) { - global $pathserver, $id, $HTTP_SERVER_VARS; + global $siteurl, $id, $HTTP_SERVER_VARS; if (!stristr($HTTP_SERVER_VARS['HTTP_USER_AGENT'], 'W3C_Validator')) { echo ' \ No newline at end of file +?> diff --git a/b2login.php b/b2login.php index 0622afd126..c9a2698fac 100644 --- a/b2login.php +++ b/b2login.php @@ -175,7 +175,7 @@ case "lostpassword": WordPress > Lost password ? - +