[wp-trac] [WordPress Trac] #28135: wp_insert_post returns error for custom post type in 3.9.0

WordPress Trac noreply at wordpress.org
Sun Jul 27 21:50:05 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:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------

Comment (by SergeyBiryukov):

 Was going to commit [attachment:28135.2.diff] and
 [attachment:28135_test.diff], but then realized we already have a ticket
 for that: #27335 (closed as maybelater).

 Let's just avoid the notice introduced in [27081].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28135#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list