Fix another typo. Not a good day at all.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-17 01:17:45 +00:00
parent 37d7ae825b
commit 47de90d17a

View File

@ -294,6 +294,7 @@ function get_edit_post_link( $link = 'Edit This' ) {
}
return '<a href="' . get_option( 'wpurl' ) . '/wp-admin/' . $file . '.php?action=edit&amp;post=' . $post->ID . '>' . $link . '</a>' . $after;
}
function edit_post_link( $link = 'Edit This', $before = '', $after = '' ) {
echo $before . get_edit_post_link( $link ) . $after;