[wp-trac] [WordPress Trac] #5050: the_category and get_the_category_list should accept post ID as an argument

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 22 19:55:15 GMT 2007


#5050: the_category and get_the_category_list should accept post ID as an argument
-------------------------+--------------------------------------------------
 Reporter:  filosofo     |       Owner:  anonymous                                                    
     Type:  enhancement  |      Status:  new                                                          
 Priority:  normal       |   Milestone:  2.4                                                          
Component:  General      |     Version:  2.3                                                          
 Severity:  normal       |    Keywords:  the_category get_the_category get_the_category_list has-patch
-------------------------+--------------------------------------------------
 There are a number of times when it would be nice to get the categories
 for a post outside of the loop.

 My patch allows one to specify the post id, with no back-compat issues, as
 get_the_category_list calls get_the_category, which already can accept
 post ID as an argument.

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


More information about the wp-trac mailing list