Index: link-template.php
===================================================================
--- link-template.php	(revision 11794)
+++ link-template.php	(working copy)
@@ -701,7 +701,7 @@
 		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;
