With the addition of the third argument to the function get_calendar(), we can use this function with any custom post types.
get_calendar() - custom post type
Remove unused var cache
Add param post_type info
@woodpeople Please bug @nacin to update the repo's description to mention that this is a read-only mirror and commits should be submitted at http://core.trac.wordpress.org/. Right now a lot of people waste their time here with pull requests.
This is a duplicate of http://core.trac.wordpress.org/ticket/16173. Please feel free to comment there, and post a patch if you think that is appropriate.