Skip to content

Commit

Permalink
Fix before/after spacing. Props mjsteinbaugh. fixes #1588
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@2859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
ryan committed Sep 8, 2005
1 parent ad57698 commit bec3e71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wp-includes/template-functions-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '') {
Expand All @@ -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
Expand Down Expand Up @@ -496,4 +496,4 @@ function posts_nav_link($sep=' &#8212; ', $prelabel='&laquo; Previous Page', $nx
}
}

?>
?>

0 comments on commit bec3e71

Please sign in to comment.