From e95edb29aae2885c253808ec6a66e0f5b652fc62 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 21:26:20 +0000 Subject: [PATCH] In `edit_post_link()`, `$post_type_obj` is unused. See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28327 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 1 - 1 file changed, 1 deletion(-) 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 . ''; /**