[wp-trac] [WordPress Trac] #16550: wp_set_post_categories should take an integer

WordPress Trac noreply at wordpress.org
Wed Sep 4 17:41:04 UTC 2013

#16550: wp_set_post_categories should take an integer
 Reporter:  ptahdunbar   |       Owner:  wonderboymusic
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.7
Component:  Taxonomy     |     Version:  3.0
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"25234"]:
 #!CommitTicketReference repository="" revision="25234"
 Allow `int` to be passed in lieu of `array`, add `append` arg to
 `wp_set_post_categories()`. Adds more extensive unit tests for

 Props ptahdunbar for initial patch.
 Fixes #16550.

Ticket URL: <http://core.trac.wordpress.org/ticket/16550#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list