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

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 10 11:13:36 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
--------------------------+-------------------------------------------------
Changes (by nacin):

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


Comment:

 Looks fine to me. Removing commit as I'm noticing that the manual
 $context/&/& juggling is unnecessary, as wp_nonce_url replaces &
 with & anyway.

 So, unless I'm missing something, I think we can thus deprecate $context
 and further simplify this.

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


More information about the wp-trac mailing list