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;