[wp-trac] [WordPress Trac] #41751: save_post_{custom_post_type} not behaving exactly as save_post
WordPress Trac
noreply at wordpress.org
Wed May 30 00:18:26 UTC 2018
#41751: save_post_{custom_post_type} not behaving exactly as save_post
-------------------------------+------------------------------
Reporter: dipakbbsr | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.8.1
Severity: normal | Resolution:
Keywords: | Focuses: administration
-------------------------------+------------------------------
Comment (by macbookandrew):
Sounds to me like ACF and CMB2 are hooking into `save_post` rather than
`save_post_{$post->post_type}`, and so have not yet saved the metadata to
the postmeta table by the time `save_post_{$post->post_type}` runs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41751#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list