Fix typo. Thanks Lloyd.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-17 00:53:58 +00:00
parent 763828ed10
commit 37d7ae825b
1 changed files with 1 additions and 1 deletions

View File

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