Changeset 13754 for trunk/wp-includes/category.php
- Timestamp:
- 03/18/2010 08:17:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category.php
r13382 r13754 43 43 $taxonomy = apply_filters( 'get_categories_taxonomy', $args['taxonomy'], $args ); 44 44 45 if ( isset($args['type']) && 'link' == $args['type'] ) //Back compat 45 // Back compat 46 if ( isset($args['type']) && 'link' == $args['type'] ) { 47 _deprecated_argument( __FUNCTION__, '3.0', '' ); 46 48 $taxonomy = $args['taxonomy'] = 'link_category'; 49 } 47 50 48 51 $categories = (array) get_terms( $taxonomy, $args );
Note: See TracChangeset
for help on using the changeset viewer.