Support » Fixing WordPress » 1.01 showing *all* category titles, even empty one

  • I just upgraded a test blog from 1.0 to the 1.01 release candidate. The upgrade went fine, but now under “Categories” on the default template (I haven’t changed a thing), it lists every possible category, even though there’s only one post in one category…
    The default template is using <?php list_cats(0, ‘All’, ‘name’); ?>

Viewing 6 replies - 1 through 6 (of 6 total)
  • The default value for $hide_empty is to hide them and this is not working (even when passed to the function). I compared the code for list_cats in 1.0 to 1.0.1 RC1 and there have been a lot of modifications to this function.

    Also, it’s not showing the entry count for each category… at least for me.

    That’s not turned on be default. Did you pass it the correct value in the function call?

    Yes, yes I did.

    This is a bug (empty cats showing, no entry count, no last post date), and I’m about to submit the fix for it.

    Would some kind soul be so generous as to add this to the Wiki in the BUG section and also indicate that the fix will soon be commited?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘1.01 showing *all* category titles, even empty one’ is closed to new replies.