[wp-trac] [WordPress Trac] #9059: single_cat_title wont show category called 0

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 6 16:10:00 GMT 2009


#9059: single_cat_title wont show category called 0
--------------------------+-------------------------------------------------
 Reporter:  noonoo        |       Owner:                                      
     Type:  defect (bug)  |      Status:  new                                 
 Priority:  low           |   Milestone:                                      
Component:  Themes        |     Version:  2.7                                 
 Severity:  minor         |    Keywords:  single_cat_title,numbered,category,0
--------------------------+-------------------------------------------------
 I have a category called 0 (zero) for all posts starting with 0, <?php
 single_cat_title(); ?> doesnt show 0 when inside that category, it works
 fine for all the other numbered categorys and all individual lettered
 categorys also work fine its just 0 thats giving me problems.

 If i add something before or after the 0 it will then show but shouldnt it
 work ok with just 0?

 Thanks in advance

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


More information about the wp-trac mailing list