Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#440 closed enhancement (fixed)

children=0 and hier does not eliminate children in wp_list_cats

Reported by: anonymousbugger's profile anonymousbugger Owned by: matt's profile matt
Milestone: Priority: normal
Severity: normal Version: 1.2
Component: General Keywords:
Focuses: Cc:

Description

In bug_id=0000009 it was stated that if:

'children=0 will now stop categories below the top level from being displayed hierarchical=0 will stop categories from being displayed hierarchically'

This does not eliminate children categories from me page usting the following code:

<?php wp_list_cats('children=0&hierarchical=0'); ?>

Change History (3)

#2 @dennis
20 years ago

Those changes have not been applied to the 1.2 or 1.2.1 releases. They appear in the 1.3alpha version. I have successfully "transplanted" them into 1.2 and you can see the changes in the CVS at:

http://cvs.sourceforge.net/viewcvs.py/cafelog/wordpress/wp-includes/template-functions-category.php?r1=1.33&r2=1.34

The line numbers will be different, but they'll get you in the neighborhood.

#3 @matt
20 years ago

  • fixed_in_version set to 1.5
  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 20
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.