mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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>';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user