$categories = get_categories( $r );
$name = esc_attr( $name );
$class = esc_attr( $class );
unset( $r['name'] );
$categories = get_categories( $r );
$name = esc_attr( $name );
$r['name'] = $name;
// TODO: remove dirty fix, consider to use 2 parames array: one for
// get_categories() another for cp_category_dropdown_tree()
unset( $r['name'] );
$categories = get_categories( $r );
$name = esc_attr( $name );
$r['name'] = $name;
$class = esc_attr( $class );
$id = $id ? esc_attr( $id ) : $name;
There are currently 1 users browsing this thread. (0 members and 1 guests)