Some formatting fixes.

git-svn-id: https://develop.svn.wordpress.org/trunk@903 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-02-21 15:22:34 +00:00
parent c3be4eeb68
commit e67aa0f272

View File

@ -170,9 +170,7 @@ function comment_author_url_link($linktext='', $before='', $after='') {
if ((!empty($url)) && ($url != 'http://') && ($url != 'http://url')) { if ((!empty($url)) && ($url != 'http://') && ($url != 'http://url')) {
$display = ($linktext != '') ? $linktext : stripslashes($url); $display = ($linktext != '') ? $linktext : stripslashes($url);
echo $before; echo "$before<a href='$url' rel='external'>$display</a>$after";
echo '<a href="'.$url.'" rel="external">'.$display.'</a>';
echo $after;
} }
} }
@ -237,7 +235,7 @@ function comments_rss_link($link_text='Comments RSS', $commentsrssfilename = 'wp
$url = $siteurl.'/'.$commentsrssfilename.$querystring_start.'p'.$querystring_equal.$id; $url = $siteurl.'/'.$commentsrssfilename.$querystring_start.'p'.$querystring_equal.$id;
} }
echo '<a href="'.$url.'">'.$link_text.'</a>'; echo "<a href='$url'>$link_text</a>";
} }
function comment_author_rss() { function comment_author_rss() {