[Plugin: Query Multiple Taxonomies] Widget not using qmt_post_type
-
scribu,
Excellent work! I did find one bug though, since I needed to use the qmt_post_type filter I found the widget isn’t using the filter.
Here’s the diff…
@@ -28,7 +28,8 @@ $out = ''; $taxonomies = array(); - foreach ( get_object_taxonomies('post') as $taxonomy ) { + $post_type = apply_filters('qmt_post_type', 'post'); + foreach ( get_object_taxonomies($post_type) as $taxonomy ) { $tax = get_taxonomy($taxonomy); if ( ! empty($tax->label) )
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘[Plugin: Query Multiple Taxonomies] Widget not using qmt_post_type’ is closed to new replies.