imath / wp-statuses

WordPress plugin to ease Custom Post Statuses integration
GNU General Public License v2.0
160 stars 27 forks source link

post_submitbox_start Action should include post object #64

Closed shawfactor closed 2 years ago

shawfactor commented 2 years ago

The post_submitbox_start action called in

wp-statuses/inc/admin/classes/class-wp-statuses-admin.php

should include the $post object as specified here:

https://developer.wordpress.org/reference/hooks/post_submitbox_start/

including this fix will improve compatibility with other plugins.

imath commented 2 years ago

Thanks for the report, I'll include it asap.

shawfactor commented 2 years ago

following up on this? Seems like a simple fix and I would like to keep my plugins in line with the official version of this library