WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#11546 closed defect (bug) (worksforme)

Trash Feature does not hide posts

Reported by: ryan_accuwebhosting Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: General Keywords: reporter-feedback
Focuses: Cc:

Description

Hello All,

When we delete posts or pages, it is still available for users via its permalink. I mean it is not deleted, but it is just queued for deletion. That is fine, but is should not be accessible to the viewers. Can anyone help?

Change History (5)

comment:1 dd325 years ago

  • Keywords reporter-feedback added; trash feature removed

If a user has the ability to access the post on the admin-side (ie. user is an admin, is an author of the post, or has the ability to edit other users posts) then access via the permalink (either /x/y/z/ or ?p=123) would still be possible (I believe).

It should not be visible to users which are not logged in in a privledged account.. Can you confirm that is the case?

comment:2 demetris5 years ago

  • Cc dkikizas@… added

Some feedback from me:

When I try to view a deleted post as a not connected user, I get a 404 response.

When I try to view a deleted post as a logged-in admin user or editor user, the post is displayed as if it were not deleted, with no indication that it is in the bin.

comment:3 demetris5 years ago

Well... I omitted the most important detail: :-)

Whey I try to view a deleted post as a logged-in member user, I get a 404 response.

comment:4 follow-up: ryan_accuwebhosting5 years ago

Oh thanks. I think there was some mistake from my end.

Now, the trash post (post in trash) is not visible to the end user (non members). Thanks.

And sorry for the any hassle.

comment:5 in reply to: ↑ 4 westi5 years ago

  • Milestone Unassigned deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Replying to ryan_accuwebhosting:

Oh thanks. I think there was some mistake from my end.

Now, the trash post (post in trash) is not visible to the end user (non members). Thanks.

And sorry for the any hassle.

Thank you for the quick response.

Closing as Works for Me as there is no bug here.

Note: See TracTickets for help on using tickets.