From 0910376bfeeaf68335d2a61a944cde0c429d71fa Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 21:27:15 +0000 Subject: [PATCH] In `edit_post_link()`, `$post_type_obj` is unused. See #27882. Built from https://develop.svn.wordpress.org/trunk@28327 git-svn-id: http://core.svn.wordpress.org/trunk@28155 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 07f260d498..2727472344 100644 --- a/wp-includes/link-template.php +++ b/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 . ''; /**