Shouldn't have to pass 'post_category' to wp_update_post()
|Reported by:||scribu||Owned by:|
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.
Change History (7)
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.5
- Component changed from General to Post Types
- Milestone changed from 3.5 to Future Release
Note: See TracTickets for help on using tickets.