Skip to content

Commit

Permalink
Merge pull request #5 from pbrotherton/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianthulin authored Mar 1, 2023
2 parents ee5ae88 + f33338a commit befe4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/php/Unpublish.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public function __construct()
{
add_action('post_submitbox_misc_actions', array($this, 'setupUi'));
add_action('save_post', array($this, 'saveUnpublish'));
add_action('unpublish_post', array($this, 'unpublishPost'), 10, 2);
add_action('unpublish_post', array($this, 'unpublishPost'));
}

/**
Expand Down

0 comments on commit befe4aa

Please sign in to comment.