Fix before/after spacing. Props mjsteinbaugh. fixes #1588

git-svn-id: https://develop.svn.wordpress.org/trunk@2859 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-09-08 21:40:37 +00:00
parent 4acb163183
commit 28fbadb064

View File

@ -179,7 +179,7 @@ function edit_post_link($link = 'Edit This', $before = '', $after = '') {
}
$location = get_settings('siteurl') . "/wp-admin/post.php?action=edit&post=$post->ID";
echo "$before <a href=\"$location\">$link</a> $after";
echo "$before <a href=\"$location\">$link</a>" . $after;
}
function edit_comment_link($link = 'Edit This', $before = '', $after = '') {
@ -192,7 +192,7 @@ function edit_comment_link($link = 'Edit This', $before = '', $after = '') {
}
$location = get_settings('siteurl') . "/wp-admin/post.php?action=editcomment&amp;comment=$comment->comment_ID";
echo "$before <a href='$location'>$link</a> $after";
echo "$before <a href='$location'>$link</a>" . $after;
}
// Navigation links
@ -496,4 +496,4 @@ function posts_nav_link($sep=' &#8212; ', $prelabel='&laquo; Previous Page', $nx
}
}
?>
?>