[wp-trac] [WordPress Trac] #11534: WordPress moves post/page to trash instead of deleting it

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 20 19:06:28 UTC 2009


#11534: WordPress moves post/page to trash instead of deleting it
--------------------------+-------------------------------------------------
 Reporter:  sirzooro      |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  2.9.1      
Component:  Trash         |     Version:  2.9        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by nacin):

 The issue, I think, is that the action=delete calls wp_delete_post, which
 then -- if trash is enabled -- tries first to trash the post.

 This has been a personal pet peeve of mine and I've tried to raise it in
 #11470.

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


More information about the wp-trac mailing list