[wp-trac] [WordPress Trac] #23906: post_save callback is passed post instead of revision, breaking back-compat
WordPress Trac
noreply at wordpress.org
Tue Apr 9 16:17:31 UTC 2013
#23906: post_save callback is passed post instead of revision, breaking back-compat
--------------------------+-------------------------
Reporter: iandunn | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Revisions | Version: trunk
Severity: normal | Resolution: worksforme
Keywords: |
--------------------------+-------------------------
Comment (by SergeyBiryukov):
Replying to [comment:3 iandunn]:
> 1) The save_post callback returns after the first run
Seems like that's the issue in your example. The assumption that the
revision is saved first is no longer correct.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23906#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list