mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-31 21:48:36 +01:00
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:
parent
3d0eed82f8
commit
0910376bfe
@ -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>';
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user