[wp-trac] [WordPress Trac] #56501: wp_after_insert_post hook, $post_before and $post showing same values
WordPress Trac
noreply at wordpress.org
Fri Sep 2 14:53:32 UTC 2022
#56501: wp_after_insert_post hook, $post_before and $post showing same values
--------------------------+-----------------------------
Reporter: wpfed | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 6.0.2
Severity: normal | Keywords:
Focuses: rest-api |
--------------------------+-----------------------------
wp_after_insert_post hook, $post_before and $post showing same values.
WordPress 6.0.2
Gutenberg 14.0.2
PHP 7.4.28
Windows 10
Chrome
According to this:
https://core.trac.wordpress.org/changeset/49732
It should "Pass the previous state of the post as a parameter to the
wp_after_insert_post hook"
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56501>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list