Index: wp-admin/includes/meta-boxes.php
===================================================================
--- wp-admin/includes/meta-boxes.php	(revision 22961)
+++ wp-admin/includes/meta-boxes.php	(working copy)
@@ -277,7 +277,7 @@
 			echo "<a class='submitdelete deletion' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Trash' ) . "</a>";
 		} else {
 			$delete_ays = ! MEDIA_TRASH ? " onclick='return showNotice.warn();'" : '';
-			echo  "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "''>" . __( 'Delete Permanently' ) . "</a>";
+			echo  "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "'>" . __( 'Delete Permanently' ) . "</a>";
 		}
 	?>
 	</div>
@@ -1116,4 +1116,4 @@
 		<a href="#" class="remove"><?php _e( 'Remove Featured Image' ); ?></a>
 	</div>
 	<?php
-}
\ No newline at end of file
+}
