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:
ryan 2005-12-21 15:47:54 +00:00
parent d62c42289e
commit 0d9a94d553
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ function edit_post_link($link = 'Edit This', $before = '', $after = '') {
}
if ( is_attachment() )
$file = 'attachments';
return;
else
$file = 'post';