[wp-trac] [WordPress Trac] #4766: publish_post action called on subsequent post edits

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 17 12:46:45 GMT 2007


#4766: publish_post action called on subsequent post edits
-----------------------------+----------------------------------------------
 Reporter:  YellowSwordfish  |       Owner:  anonymous   
     Type:  defect           |      Status:  new         
 Priority:  normal           |   Milestone:  2.4 (future)
Component:  Administration   |     Version:  2.2.2       
 Severity:  normal           |    Keywords:              
-----------------------------+----------------------------------------------
 Well maybe it's intentional but surely you can't 'publish' a post more
 than once. I would have expected the 'publish_post' action to only be
 called when the post is first published. Later edits are not 'publishing'.
 They are handled with the 'save_post' hook.

 If this is intentonal can someone explain the rationale?

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


More information about the wp-trac mailing list