[wp-trac] [WordPress Trac] #28135: wp_insert_post returns error for custom post type in 3.9.0
WordPress Trac
noreply at wordpress.org
Tue Jul 29 00:50:54 UTC 2014
#28135: wp_insert_post returns error for custom post type in 3.9.0
--------------------------------------+-----------------------------
Reporter: capit0l | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.9.2
Component: Posts, Post Types | Version: 3.9
Severity: major | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29318"]:
{{{
#!CommitTicketReference repository="" revision="29318"
Avoid PHP notices in _count_posts_cache_key(),
_update_blog_date_on_post_publish(), and
_update_blog_date_on_post_delete() if post type is not registered.
props jesin.
fixes #28135.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28135#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list