[wp-trac] [WordPress Trac] #23759: Pass $update to save_post and wp_insert_post actions

WordPress Trac noreply at wordpress.org
Thu Mar 14 10:12:36 UTC 2013


#23759: Pass $update to save_post and wp_insert_post actions
-------------------------+------------------------------
 Reporter:  alex-ye      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Post Types   |     Version:  3.5.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  General => Post Types


Comment:

 > For now it's hard to check if the post is updated or publish for the
 first time

 Post status transition actions can be used as a workaround: [[BR]]
 http://codex.wordpress.org/Post_Status_Transitions

 Related: #21450

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23759#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list