[wp-trac] [WordPress Trac] #20462: Shouldn't have to pass 'post_category' to wp_update_post()

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 16 23:35:54 UTC 2012


#20462: Shouldn't have to pass 'post_category' to wp_update_post()
--------------------------+-----------------------------
 Reporter:  scribu        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Custom post types don't usually have the 'post_category' field set, which
 means that wp_update_post() throws an Undefined Index notice when we don't
 pass it explicitly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20462>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list