[wp-trac] [WordPress Trac] #14344: wp_dropdown_categories, show_count=1 counts unpublished posts as well

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 18 15:47:16 UTC 2010


#14344: wp_dropdown_categories, show_count=1 counts unpublished posts as well
--------------------------+-------------------------------------------------
 Reporter:  1manfactory   |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0            
 Severity:  minor         |    Keywords:                 
--------------------------+-------------------------------------------------
 When using the function[[BR]]

 ''wp_dropdown_categories''[[BR]]

 and setting the argument[[BR]]

 ''show_count=1''[[BR]]

 Wordpress will also count posts which are not published.



 I tested it with different combinations of parent categories and child
 categories. It is always the same.[[BR]]

 I checked on Windows/Apache and Unix/Lamp.

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


More information about the wp-trac mailing list