Changeset 8572 for trunk/wp-includes/category-template.php
- Timestamp:
- 08/06/2008 08:31:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r8569 r8572 8 8 // TODO: consult hierarchy 9 9 $cat_ids = get_all_category_ids(); 10 foreach ( $cat_ids as $cat_id ) {10 foreach ( (array) $cat_ids as $cat_id ) { 11 11 if ( $cat_id == $id ) 12 12 continue; … … 85 85 $categories = array(); 86 86 87 foreach( array_keys($categories) as $key) {87 foreach( (array) array_keys($categories) as $key) { 88 88 _make_cat_compat($categories[$key]); 89 89 }
Note: See TracChangeset
for help on using the changeset viewer.