[wp-testers] Regarding wp_dropdown_categories
Peter Westwood
peter.westwood at ftwr.co.uk
Fri Apr 13 18:23:34 GMT 2007
On 13 Apr 2007, at 18:54, Michael E. Hancock wrote:
> I'm trying to document in Codex, the wp_dropdown_categories
> template and its
> various parameters.
>
> Could someone explain the intention for the 'show_option_all' and
> 'show_option_none' parameters.
>
These parameters control whether or not the HTML for the dropdown has
an All and a None value in it to allow you to select All or None of
the categories.
See http://trac.wordpress.org/browser/trunk/wp-includes/category-
template.php#L193 for the code.
> There is a note in the wp_list_categories page in Codex that the
> 'show_option_all' has no effect at 2.1.
>
Yes looking at the code in trunk the handling for this is missing!
I'll work up a patch and ticket on trac.
westi
--
Peter Westwood <peter.westwood at ftwr.co.uk>
Blog: http://blog.ftwr.co.uk/
WordPress Plugins: http://blog.ftwr.co.uk/wordpress/
More information about the wp-testers
mailing list