mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -214,7 +214,7 @@ function edit_post_link($link = 'Edit This', $before = '', $after = '') {
|
||||
}
|
||||
|
||||
if ( is_attachment() )
|
||||
$file = 'attachments';
|
||||
return;
|
||||
else
|
||||
$file = 'post';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user