Ticket #5506 (new defect)

Opened 9 months ago

Last modified 6 months ago

post and comment deletion template tags

Reported by: hangy Assigned to: anonymous
Priority: normal Milestone: 2.9
Component: Template Version:
Severity: normal Keywords: dev-feedback
Cc:

Description

It could possibly be nice to have post and comment deletion template tags in similar fashion to the already existing editing links.

Attachments

delete_link.diff (2.8 kB) - added by hangy on 12/22/07 12:22:34.

Change History

12/22/07 12:22:34 changed by hangy

  • attachment delete_link.diff added.

12/22/07 12:29:16 changed by westi

  • keywords set to reporter-feedback.

I am not sure of the use case for this?

Can you elaborate more please?

12/22/07 14:41:34 changed by hangy

Firstly, I should say that this is not my suggestion, but was asked for by someone on #wordpress. The use case would be that someone would be able to delete posts, pages and comments right from the blog - without the need to separately open the admin interface and getting to the right page to delete the item.

03/09/08 10:30:45 changed by hangy

  • keywords changed from reporter-feedback to dev-feedback.

03/09/08 10:50:26 changed by DD32

I dont like the idea of having such a link, Certain browser extensions like to follow links to cache the results.

To delete a post, currently its 3 clicks, Edit => Delete Post => Confirm Deletion
With a link to delete, It'd have to be Delete => Confirm Delete

Not a huge difference IMO.

However, I can see the usefulness of this in cases where WordPress is being used in a non-common situation, For example, Maybe on a site that uses WordPress Posts as a news function, A link to delete a post might be useful in that case.

I still wouldnt suggest having it in any of the default themes though; just available for those who use WordPress in a specific use-case.