mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-03 05:02:52 +00:00
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:
parent
4acb163183
commit
28fbadb064
@ -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
Block a user