[wp-trac] Re: [WordPress Trac] #7507: 'wp_list_bookmarks()' and 'category_name' with non-existent category

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 17 09:33:37 GMT 2009


#7507: 'wp_list_bookmarks()' and 'category_name' with non-existent category
--------------------------+-------------------------------------------------
 Reporter:  therks        |       Owner:  anonymous              
     Type:  defect (bug)  |      Status:  new                    
 Priority:  lowest        |   Milestone:  2.8                    
Component:  Template      |     Version:  2.6                    
 Severity:  trivial       |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by Viper007Bond):

 `get_term_by()` doesn't cache, so yes it'd be best to only do it once.
 Good catch.

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


More information about the wp-trac mailing list