Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@8478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-07-28 23:39:15 +00:00
parent e30000d174
commit 7339da643f
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ function get_edit_post_link( $id = 0, $context = 'display' ) {
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 = '' ) {