Edit link does not belong on attachments. fixes #2119
git-svn-id: https://develop.svn.wordpress.org/trunk@3333 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
142682fa5d
commit
f29f877dba
|
@ -214,7 +214,7 @@ function edit_post_link($link = 'Edit This', $before = '', $after = '') {
|
|||
}
|
||||
|
||||
if ( is_attachment() )
|
||||
$file = 'attachments';
|
||||
return;
|
||||
else
|
||||
$file = 'post';
|
||||
|
||||
|
|
Loading…
Reference in New Issue