Changeset 16888
- Timestamp:
- 12/12/2010 08:32:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r16487 r16888 68 68 if ( ! $categories ) 69 69 $categories = array(); 70 71 $categories = array_values( $categories ); 70 72 71 73 foreach ( array_keys( $categories ) as $key ) { 72 74 _make_cat_compat( $categories[$key] ); 73 75 } 74 // Filter name is plural because we are return alot of categories not just one 76 77 // Filter name is plural because we return alot of categories not just one 75 78 return apply_filters( 'get_the_categories', $categories ); 76 79 }
Note: See TracChangeset
for help on using the changeset viewer.