Apply get_edit_post_link filter. Props prettyboymp. fixes #10579

git-svn-id: https://develop.svn.wordpress.org/trunk@11795 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-08-10 16:33:42 +00:00
parent 962116a319
commit e01eb2fd26
1 changed files with 1 additions and 1 deletions

View File

@ -701,7 +701,7 @@ function get_edit_post_link( $id = 0, $context = 'display' ) {
break;
default :
if ( !current_user_can( 'edit_post', $post->ID ) )
return;
return apply_filters( 'get_edit_post_link', '', $post->ID, $context );;
$file = 'post';
$var = 'post';
break;