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
This commit is contained in:
Scott Taylor 2014-05-06 21:26:20 +00:00
parent 5cf2a50dba
commit e95edb29aa
1 changed files with 0 additions and 1 deletions

View File

@ -1211,7 +1211,6 @@ function edit_post_link( $link = null, $before = '', $after = '', $id = 0 ) {
if ( null === $link ) if ( null === $link )
$link = __('Edit This'); $link = __('Edit This');
$post_type_obj = get_post_type_object( $post->post_type );
$link = '<a class="post-edit-link" href="' . $url . '">' . $link . '</a>'; $link = '<a class="post-edit-link" href="' . $url . '">' . $link . '</a>';
/** /**