[wp-testers] Regarding wp_dropdown_categories
Peter Westwood
peter.westwood at ftwr.co.uk
Fri Apr 13 19:07:51 GMT 2007
On 13 Apr 2007, at 19:23, Peter Westwood wrote:
>
> 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.
>
Hmm it seems it didn't work in 2.0 either
Patch available here http://trac.wordpress.org/ticket/4145
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