From 00ee55a47f0d4fcedceef36351920b11f98fc6fe Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 10 Aug 2009 16:33:42 +0000 Subject: [PATCH] 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 --- wp-includes/link-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index e6d9f78d9..bdcc0296c 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -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;