Changeset 13754 for trunk/wp-includes/category-template.php
- Timestamp:
- 03/18/2010 08:17:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r13553 r13754 319 319 * 'class' (string) - The class attribute value for select element. 320 320 * 'selected' (int) - Which category ID is selected. 321 * 'taxonomy' (string) - The name of the taxonomy to retrieve. Defaults to category. 321 322 * 322 323 * The 'hierarchical' argument, which is disabled by default, will override the … … 345 346 346 347 $defaults['selected'] = ( is_category() ) ? get_query_var( 'cat' ) : 0; 348 349 // Back compat. 350 if ( isset( $args['type'] ) && 'link' == $args['type'] ) { 351 _deprecated_argument( __FUNCTION__, '3.0', '' ); 352 $args['taxonomy'] = 'link_category'; 353 } 347 354 348 355 $r = wp_parse_args( $args, $defaults );
Note: See TracChangeset
for help on using the changeset viewer.