[wp-trac] [WordPress Trac] #9039: Need a method to cancel post save and/or status change

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 4 09:29:59 GMT 2009


#9039: Need a method to cancel post save and/or status change
-------------------------+--------------------------------------------------
 Reporter:  sirzooro     |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.7.1    
Component:  General      |     Version:  2.7      
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 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?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/9039>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list