[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 20:10:16 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:  has-patch
--------------------------+-------------------------------------------------

Comment(by nacin):

 Because he wants to keep trash as well, right?

 In that case, action=trash calls wp_trash_post, which then calls
 wp_delete_post when trash is disabled. Too many dependencies.

 Patch is a good start.

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


More information about the wp-trac mailing list