Edit link does not belong on attachments. fixes #2119
git-svn-id: http://svn.automattic.com/wordpress/trunk@3333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d62c42289e
commit
0d9a94d553
|
@ -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