Ticket #24103: wp_dropdown_categories-patch.txt
| File wp_dropdown_categories-patch.txt, 477 bytes (added by , 13 years ago) |
|---|
| Line | |
|---|---|
| 1 | Index: wp-includes/category-template.php |
| 2 | =================================================================== |
| 3 | --- wp-includes/category-template.php (revision 24000) |
| 4 | +++ wp-includes/category-template.php (working copy) |
| 5 | @@ -370,7 +370,7 @@ |
| 6 | if ( ! $r['hide_if_empty'] || ! empty($categories) ) |
| 7 | $output .= "</select>\n"; |
| 8 | |
| 9 | - $output = apply_filters( 'wp_dropdown_cats', $output ); |
| 10 | + $output = apply_filters( 'wp_dropdown_cats', $output, $r ); |
| 11 | |
| 12 | if ( $echo ) |
| 13 | echo $output; |