Skip to content

Commit

Permalink
Added support for events with an 'auto-draft' post_status when you sa…
Browse files Browse the repository at this point in the history
…ve a production in the admin.
  • Loading branch information
slimndap committed Jun 29, 2015
1 parent 8c50e06 commit 13b312b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/wpt_admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ function save_production( $post_id ) {

$args = array(
'status' => array( 'any', 'auto-draft' ),
'production' => $production_id,
'production' => $post_id,
);
$events = $wp_theatre->events->get( $args );

Expand Down

0 comments on commit 13b312b

Please sign in to comment.