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

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 3 22:01:50 GMT 2006


#3430: wp_get_post_categories() to use $category_cache
----------------------------+-----------------------------------------------
 Reporter:  alexkingorg     |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  high            |   Milestone:  2.1      
Component:  Administration  |     Version:  2.1      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 ...instead of querying the DB every time. Should check $category_cache for
 post id, and return if found, query if not found.

 Per discussion here:

 http://trac.wordpress.org/ticket/3427

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


More information about the wp-trac mailing list