danielbachhuber/Edit-Flow — pull request #80 by danyork (2012-04-12 12:41:06+00:00)
Title: Fix for #77 - Added "Trash" as command option in Calendar View

Added one line of code to add a "Trash" command to the Calendar view. Now when you click on a post in calendar view, you get three options:

Edit | (View|Preview) | Trash

The "Trash" command uses ```get_delete_post_link()``` to get a link to send the post to the Trash. This move happens immediately without any confirmation. Users can always retrieve the posts from the Trash using the regular "Posts" view in the WordPress admin interface.

As noted in the commits, I originally had the link text as "Delete", but changed it to "Trash" to be consistent with the core WordPress user interface for working with Posts.

I have tested the code on a instance of WordPress 3.3 MultiSite where Edit Flow is enabled for one of the sites.