Fix typo. Thanks Lloyd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
763828ed10
commit
37d7ae825b
|
@ -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&post=' . $post->ID . '>' . $link . '</a>' . $after;
|
||||
return '<a href="' . get_option( 'wpurl' ) . '/wp-admin/' . $file . '.php?action=edit&post=' . $post->ID . '>' . $link . '</a>' . $after;
|
||||
|
||||
function edit_post_link( $link = 'Edit This', $before = '', $after = '' ) {
|
||||
echo $before . get_edit_post_link( $link ) . $after;
|
||||
|
|
Loading…
Reference in New Issue