Fix typo. Thanks Lloyd.
git-svn-id: https://develop.svn.wordpress.org/trunk@5276 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
734766ba6e
commit
8e63dcecfa
@ -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&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 = '' ) {
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user