diff --git a/includes/admin.php b/includes/admin.php index 23c3f5f..47df883 100644 --- a/includes/admin.php +++ b/includes/admin.php @@ -202,7 +202,7 @@ function handle_custom_bulk_actions($redirect_to, $doaction, $post_ids) foreach ($post_ids as $post_id) { wp_update_post(array( 'ID' => $post_id, - 'post_status' => 'published' + 'post_status' => 'publish' )); } $redirect_to = add_query_arg('bulk_offline_updated', count($post_ids), $redirect_to);