Need a method to cancel post save and/or status change
|Reported by:||sirzooro||Owned by:||anonymous|
I have a site where everyone can register and submit post for review. Each post must conform to set of rules. I want to write plugin to check some of them (namely minimum post length and maximum number of outgoing links). Unfortunately the only way to do this in current WP version is via core files hacking, because existing actions fires after post is saved or its status is changed. Could you add new action(s) which will fire before post is saved and before post status change, so I have a chance to cancel these actions?