diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 07f260d498..2727472344 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -1211,7 +1211,6 @@ function edit_post_link( $link = null, $before = '', $after = '', $id = 0 ) { if ( null === $link ) $link = __('Edit This'); - $post_type_obj = get_post_type_object( $post->post_type ); $link = '' . $link . ''; /**