[wp-trac] [WordPress Trac] #12708: get_delete_post_link() doesn't check EMPTY_TRASH_DAYS

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 25 16:49:19 UTC 2010


#12708: get_delete_post_link() doesn't check EMPTY_TRASH_DAYS
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  3.0             
Component:  General       |     Version:  3.0             
 Severity:  normal        |    Keywords:  has-patch commit
--------------------------+-------------------------------------------------
Changes (by scribu):

  * keywords:  has-patch => has-patch commit


Comment:

 get_delete_post_link.diff:

 - check EMPTY_POST_DAYS

 - add a $force_delete parameter

 - use in more places in the admin

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


More information about the wp-trac mailing list