[wp-trac] [WordPress Trac] #26832: Unable to force delete using get_delete_post_link()

WordPress Trac noreply at wordpress.org
Tue Jan 14 16:56:07 UTC 2014


#26832: Unable to force delete using get_delete_post_link()
--------------------------+-----------------------------
 Reporter:  henry.wright  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.8
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I seem to be unable to force delete when using
 {{{get_delete_post_link()}}}

 Doing the following inside the loop sends the post to trash.

 {{{
 get_delete_post_link( $post_id, '', true );
 }}}

 Shouldn't passing {{{true}}} as the third parameter cause the post to be
 permanently deleted?

 http://codex.wordpress.org/Function_Reference/get_delete_post_link

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26832>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list