WordPress.org

Make WordPress Core

Opened 23 months ago

Last modified 3 months ago

#20810 new enhancement

Add disable arg or attributes arg to wp_dropdown_categories() & wp_dropdown_pages()

Reported by: wpsmith Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: template Cc:

Description

It would be beneficial to be able to add disabled="disabled" attribute to the select tag or add multiple attributes to the select tag.

Related: #20156, #20167

Attachments (4)

wp_dropdown_categories_disabled_opt.patch (1.1 KB) - added by wpsmith 23 months ago.
Disabled arg for wp_dropdown_categories()
wp_dropdown_categories_attr_opt.patch (1.2 KB) - added by wpsmith 23 months ago.
Extra attributes for wp_dropdown_categories()
wp_dropdown_pages_disabled_opt.patch (1.0 KB) - added by wpsmith 23 months ago.
Disabled arg for wp_dropdown_pages()
wp_dropdown_pages_attr_opt.patch (1.1 KB) - added by wpsmith 23 months ago.
Extra attributes for wp_dropdown_pages()

Download all attachments as: .zip

Change History (7)

wpsmith23 months ago

Disabled arg for wp_dropdown_categories()

wpsmith23 months ago

Extra attributes for wp_dropdown_categories()

wpsmith23 months ago

Disabled arg for wp_dropdown_pages()

wpsmith23 months ago

Extra attributes for wp_dropdown_pages()

comment:1 prionkor20 months ago

+1 we need it on all dropdown functions.

Version 0, edited 20 months ago by prionkor (next)

comment:2 prionkor20 months ago

  • Cc sisir@… added

comment:3 nacin3 months ago

  • Component changed from Template to Posts, Post Types
  • Focuses template added
Note: See TracTickets for help on using tickets.