WordPress may display incorrect message when post is saved/published/etc
|Reported by:||sirzooro||Owned by:||bsamrajni|
|Component:||Posts, Post Types||Keywords:||has-patch|
When post is saved, WP calls wp_insert_post_data filter. Plugin can use it to change post status. But even post status has been changed via plugin, WP still displays message basing on action originally executed by user. Need to change this and take into account final post status too.