mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 13:41:24 +01:00
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
|
||||
|
Loading…
Reference in New Issue
Block a user