[wp-trac] [WordPress Trac] #15320: tax_input does not work with category slugs

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 4 21:00:33 UTC 2010


#15320: tax_input does not work with category slugs
--------------------------+-------------------------------------------------
 Reporter:  linguasite    |       Owner:                               
     Type:  defect (bug)  |      Status:  new                          
 Priority:  normal        |   Milestone:  Awaiting Review              
Component:  Taxonomy      |     Version:  3.1                          
 Severity:  normal        |    Keywords:  taxonomy insert post category
--------------------------+-------------------------------------------------
 When inserting/updating a post, the slugs of custom taxonomies can be
 stored in the tax_input array and will be assigned to the post or created
 if they do no exist.
 However, the category taxonomy array in tax_input must contain the
 term_id's of the categories, otherwise the values will be ignored.

 See ''/wp_includes/post.php'' line 2532.

 Any ideas why this happens?

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


More information about the wp-trac mailing list