Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 8477)
+++ wp-includes/link-template.php	(working copy)
@@ -479,7 +479,7 @@
 		break;
 	endswitch;
 	
-	return apply_filters( 'get_edit_post_link', admin_url("$file.php?{$action}$var=$post->ID"), $post->ID );
+	return apply_filters( 'get_edit_post_link', admin_url("$file.php?{$action}$var=$post->ID"), $post->ID, $context );
 }
 
 function edit_post_link( $link = 'Edit This', $before = '', $after = '' ) {

