[wp-trac] [WordPress Trac] #36603: wp_publish_post() does not fire post_updated action

WordPress Trac noreply at wordpress.org
Fri May 27 16:24:43 UTC 2016


#36603: wp_publish_post() does not fire post_updated action
-------------------------------+--------------------
 Reporter:  Rarst              |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  4.6
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+--------------------

Comment (by afercia):

 Replying to [comment:3 peterwilsoncc]:
 > My educated guess is it's by design and publishing a scheduled post is
 not considered an update per se.
 That's the point I guess :) Users can actually modify a scheduled post
 before publishing it and as far as I understand there's no way to detect
 this. By the way seems the history here is a bit complicated see [21942]
 and [23206] and the related tickets and see also [ticket:21963].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36603#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list