[wp-trac] [WordPress Trac] #10746: wp_count_terms() should call get_terms()

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 7 23:29:58 UTC 2009


#10746: wp_count_terms() should call get_terms()
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:  filosofo 
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.9      
Component:  Taxonomy      |     Version:  2.8.4    
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 Currently, wp_count_terms() only accepts one argument: 'ignore_empty'.

 get_terms() has alot more, so why not use it to also count the terms?

 As a direct benefit, we can correct the pagination in wp-admin/edit-
 tags.php?s=something which ignores the search parameter.

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


More information about the wp-trac mailing list