[wp-trac] Re: [WordPress Trac] #3430: wp_get_post_categories() to use $category_cache

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 4 08:07:23 GMT 2006


#3430: wp_get_post_categories() to use $category_cache
-----------------------------------+----------------------------------------
 Reporter:  alexkingorg            |        Owner:  markjaquith
     Type:  enhancement            |       Status:  assigned   
 Priority:  high                   |    Milestone:  2.1        
Component:  Administration         |      Version:  2.1        
 Severity:  normal                 |   Resolution:             
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------
Changes (by markjaquith):

  * keywords:  => has-patch 2nd-opinion
  * status:  new => assigned
  * owner:  anonymous => markjaquith

Comment:

 Alex, Ryan, check the patch I uploaded.  Instead of duplicating
 {{{get_the_category}}} code, I just called it in here.
 {{{get_the_category}}} returns a blank array, so that shouldn't be an
 issue for posts with no categories (or non-existent posts).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3430#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list