[wp-trac] [WordPress Trac] #28789: wp_insert_post() only creates draft posts
WordPress Trac
noreply at wordpress.org
Tue Jul 8 12:12:52 UTC 2014
#28789: wp_insert_post() only creates draft posts
--------------------------+------------------------------
Reporter: Ehsaan | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.9.1
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by MattyRob):
* status: new => closed
* resolution: => invalid
Comment:
@Ehsaan,
Thanks for opening a ticket but the wp_insert_post() function works
perfectly well for the core post type and for custom post types registered
and accessible in the WordPress admin area.
I suspect there is something wrong in the code you have written and the
best place to get help with that is on the forums.
(http://wordpress.org/support/).
I'm closing this ticket as invalid but if you can pinpoint a specific
issue in the wp_insert_post() feel free to reopen this ticket and provide
more details.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28789#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list