Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#11546 closed defect (bug) (worksforme)

Trash Feature does not hide posts

Reported by: ryan_accuwebhosting's profile 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)

#1 @dd32
16 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?

#2 @demetris
16 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.

#3 @demetris
16 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.

#4 follow-up: @ryan_accuwebhosting
16 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.

#5 in reply to: ↑ 4 @westi
16 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.