'class' => 'postform',
'depth' => 0,
'tab_index' => 0,
'taxonomy' => 'category',
'hide_if_empty' => false,
'option_none_value' => -1,
'value_field' => 'term_id',
'required' => false,
'aria_describedby' => '',
);
$defaults['selected'
] =
( is_category() ) ?
get_query_var( 'cat'
) : 0;
// Back compat.
if ( isset( $args['type'
] ) && 'link' ===
$args['type'
] ) { _deprecated_argument( __FUNCTION__,
'3.0.0',
sprintf( /* translators: 1: "type => link", 2: "taxonomy => link_category" */
__( '%1$s is deprecated. Use %2$s instead.'
),
'<code>type => link</code>',
'<code>taxonomy => link_category</code>'
)