[wp-trac] [WordPress Trac] #26862: WordPress fires wp_insert_action on every single save and not just when the post is created
WordPress Trac
noreply at wordpress.org
Fri Jan 17 15:02:24 UTC 2014
#26862: WordPress fires wp_insert_action on every single save and not just when the
post is created
---------------------------+-----------------------------
Reporter: chriscarvache | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build Tools | Version: 3.8
Severity: normal | Keywords:
---------------------------+-----------------------------
According to the WP Codex wp_insert_post as an action should fire ONLY
when a new post is created. However it seems as if it fires on EVERY
save.
See the following stack exchange article:
[http://wordpress.stackexchange.com/questions/129734/woocommerce-wp-
insert-post-action-firing-on-every-save/129769#129769]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26862>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list