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
This commit is contained in:
Scott Taylor 2014-05-06 21:27:15 +00:00
parent 3d0eed82f8
commit 0910376bfe

View File

@ -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 = '<a class="post-edit-link" href="' . $url . '">' . $link . '</a>';
/**