Fix before/after spacing. Props mjsteinbaugh. fixes #1588
git-svn-id: http://svn.automattic.com/wordpress/trunk@2859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ad57698f14
commit
bec3e71292
|
@ -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&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=' — ', $prelabel='« Previous Page', $nx
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue