mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -356,7 +356,7 @@ function wp_dropdown_categories( $args = '' ) {
|
||||
if ( (int) $tab_index > 0 )
|
||||
$tab_index_attribute = " tabindex=\"$tab_index\"";
|
||||
|
||||
$categories = get_categories( $r );
|
||||
$categories = get_terms( $taxonomy, $r );
|
||||
$name = esc_attr($name);
|
||||
$class = esc_attr($class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user