Opened 14 years ago
Last modified 45 hours ago
#20810 new enhancement
Add disable arg or attributes arg to wp_dropdown_categories() & wp_dropdown_pages()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.1 |
| Component: | Posts, Post Types | Keywords: | has-patch |
| Focuses: | template | Cc: |
Attachments (4)
Change History (11)
#5
@
11 years ago
- Keywords has-patch needs-refresh added
- Milestone changed from Awaiting Review to Future Release
- Version set to 2.1
Patch needs a refresh.
#6
@
10 years ago
+1
Currently utilizing jQuery or rebuilding the $output through the wp_dropdown_cats filter.
This ticket was mentioned in PR #12145 on WordPress/wordpress-develop by @sainathpoojary.
45 hours ago
#7
- Keywords needs-refresh removed
This PR adds a disabled boolean argument to both wp_dropdown_categories() and wp_dropdown_pages(). When set to true, the generated <select> dropdowns are rendered with the HTML5 disabled attribute (<select disabled>).
Trac ticket: #20810
Note: See
TracTickets for help on using
tickets.
Disabled arg for wp_dropdown_categories()