[wp-trac] [WordPress Trac] #22167: Categories revert to default when scheduled posts are published
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 11 17:37:02 UTC 2012
#22167: Categories revert to default when scheduled posts are published
-----------------------------+---------------------
Reporter: danielbachhuber | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: General | Version: trunk
Severity: major | Resolution: fixed
Keywords: |
-----------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [22189]:
{{{
#!CommitTicketReference repository="" revision="22189"
Use wp_update_post() rather than wp_insert_post() in wp_publish_post() to
avoid stomping of values like categories. props ericmann, fixes #22167.
see #21963.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22167#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list