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

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 18:11:33 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:  Future Release
Component:  Template      |     Version:  2.6           
 Severity:  trivial       |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 confirmed in 2.8. the issue is in get_bookmarks().

 if category name is not empty and it returns no terms, it should:

  1. cache an empty result
  2. return

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


More information about the wp-trac mailing list