echo"<a href='".wp_nonce_url("post.php?action=delete&amp;post=$post_ID",'delete-post_'.$post_ID)."' onclick=\"if ( confirm('".js_escape(sprintf(('draft'==$post->post_status)?__("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete."):__("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."),$post->post_title))."') ) { return true;}return false;\">".__('Delete post')."</a>";