[wp-trac] [WordPress Trac] #16164: "You are not allowed to delete this post." - While Deleting a Media Library Item

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 10 12:47:30 UTC 2011


#16164: "You are not allowed to delete this post." - While Deleting a Media Library
Item
--------------------------+------------------------------
 Reporter:  hakre         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by hakre):

 Somewhat related: If you delete a bunch of media items of which some have
 been already deleted by some other thread, it will stop at the first one
 that is not able to delete (e.g. because it already has been deleted).

 As the request was to delete a post, it could be considered successfull if
 that post had been already deleted. So it's possible worth to just skip
 (or count the number of successful deletions) and try further instead of
 stopping.

 This might especially make sense if multiple users are making use of the
 backend and do some clean-up work. To more gracefully deal with (already)
 non-existant posts while deleting.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16164#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list