Title: Incorrect post_submitbox_misc_actions usage
Last modified: March 10, 2020

---

# Incorrect post_submitbox_misc_actions usage

 *  Resolved [flynsarmy](https://wordpress.org/support/users/flynsarmy/)
 * (@flynsarmy)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/incorrect-post_submitbox_misc_actions-usage/)
 * In _/revisionary/admin/PostEditSubmitMetabox.php_ you call
    `do_action('post_submitbox_misc_actions');`
   however it should be `do_action('post_submitbox_misc_actions', $post);` as per
   _wp-admin/includes/meta-boxes.php_ which passes a _WP\_Post_ object as an argument.
 * Without the argument passed you’re potentially causing errors in third party 
   plugins and themes that make use of this action.
    -  This topic was modified 6 years, 3 months ago by [flynsarmy](https://wordpress.org/support/users/flynsarmy/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kevin Behrens](https://wordpress.org/support/users/kevinb/)
 * (@kevinb)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/incorrect-post_submitbox_misc_actions-usage/#post-12529210)
 * [@flynsarmy](https://wordpress.org/support/users/flynsarmy/) Thanks for mentioning
   the do_action() issue. This will be corrected in the next release.

Viewing 1 replies (of 1 total)

The topic ‘Incorrect post_submitbox_misc_actions usage’ is closed to new replies.

 * ![](https://ps.w.org/revisionary/assets/icon-256x256.png?rev=3394615)
 * [PublishPress Revisions: Duplicate Posts, Submit, Approve and Schedule Content Changes](https://wordpress.org/plugins/revisionary/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/revisionary/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/revisionary/)
 * [Active Topics](https://wordpress.org/support/plugin/revisionary/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/revisionary/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/revisionary/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kevin Behrens](https://wordpress.org/support/users/kevinb/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/incorrect-post_submitbox_misc_actions-usage/#post-12529210)
 * Status: resolved