[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 Jul 28 11:51:28 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.2
Component: Posts, Post Types | Version: 3.9
Severity: major | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+--------------------
Changes (by jesin):
* keywords: needs-patch good-first-bug => good-first-bug has-patch
Comment:
Another PHP notice is triggered on MS setups:
{{{
Notice: Trying to get property of non-object in /var/www/html/wp-includes
/ms-blogs.php on line 877
}}}
The [attachment:28135.diff] patch fixes both of them.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28135#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list