[wp-trac] [WordPress Trac] #33026: Add option filter for wp_dropdown_categories()

WordPress Trac noreply at wordpress.org
Mon Jul 20 20:29:47 UTC 2015


#33026: Add option filter for wp_dropdown_categories()
-------------------------+-----------------------------
 Reporter:  theMikeD     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Taxonomy     |     Version:  4.2.2
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  administration
-------------------------+-----------------------------

Comment (by theMikeD):

 Patch added. Note that I also changed

 {{{
  * @param array $parent_dropdown_args {
  *     Optional. Array of arguments to generate a categories drop-down
 element.
 }}}
 to
 {{{
  * @param string|array $parent_dropdown_args {
  *     Optional. Array or string of arguments to generate a categories
 drop-down element.
 }}}
 since it takes an array built in the immediately previous line.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33026#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list