WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#5506 closed defect (bug) (wontfix)

post and comment deletion template tags

Reported by: hangy Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Template Keywords: 2nd-opinion
Focuses: 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 (1)

delete_link.diff (2.8 KB) - added by hangy 6 years ago.

Download all attachments as: .zip

Change History (7)

hangy6 years ago

comment:1 westi6 years ago

  • Keywords reporter-feedback added

I am not sure of the use case for this?

Can you elaborate more please?

comment:2 hangy6 years ago

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.

comment:3 hangy6 years ago

  • Keywords dev-feedback added; reporter-feedback removed

comment:4 DD326 years ago

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.

comment:5 Denis-de-Bernardy5 years ago

  • Keywords 2nd-opinion added; dev-feedback removed

suggesting plugin material

comment:6 Denis-de-Bernardy5 years ago

  • Milestone 2.9 deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.