Apply get_edit_post_link filter. Props prettyboymp. fixes #10579

git-svn-id: http://svn.automattic.com/wordpress/trunk@11795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-08-10 16:33:42 +00:00
parent f0618619e1
commit 00ee55a47f
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; break;
default : default :
if ( !current_user_can( 'edit_post', $post->ID ) ) if ( !current_user_can( 'edit_post', $post->ID ) )
return; return apply_filters( 'get_edit_post_link', '', $post->ID, $context );;
$file = 'post'; $file = 'post';
$var = 'post'; $var = 'post';
break; break;