Fix typo. Thanks Lloyd.

git-svn-id: https://develop.svn.wordpress.org/trunk@5276 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-04-17 00:53:58 +00:00
parent 734766ba6e
commit 8e63dcecfa
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';
}
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 = '' ) {
echo $before . get_edit_post_link( $link ) . $after;