[wp-trac] [WordPress Trac] #14625: Function get_the_category doesn't work as expected with custom post types

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 16 18:36:25 UTC 2010


#14625: Function get_the_category doesn't work as expected with custom post types
--------------------------+-------------------------------------------------
 Reporter:  bjdj          |       Owner:                    
     Type:  defect (bug)  |      Status:  new               
 Priority:  normal        |   Milestone:  Awaiting Review   
Component:  General       |     Version:  3.0.1             
 Severity:  minor         |    Keywords:  get_the_category()
--------------------------+-------------------------------------------------

Comment(by bjdj):

 For clarification, in the sentence 'If a category has no posts assigned to
 it', posts are posts with post_type = post.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14625#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list