[wp-trac] [WordPress Trac] #28135: wp_insert_post returns error for custom post type in 3.9.0
WordPress Trac
noreply at wordpress.org
Mon May 5 13:12:30 UTC 2014
#28135: wp_insert_post returns error for custom post type in 3.9.0
-------------------------------+--------------------
Reporter: capit0l | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9.1
Component: Posts, Post Types | Version: 3.9
Severity: major | Resolution:
Keywords: | Focuses:
-------------------------------+--------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review => 3.9.1
Comment:
The function was added in [27081], moving for investigation.
Sounds like your code needs to wait until `register_post_type()` fires,
but if this didn't cause a warning before, we should probably fix it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28135#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list