[wp-trac] [WordPress Trac] #19556: Make wp_term_checklist() available as a template tag
WordPress Trac
noreply at wordpress.org
Fri Aug 16 15:15:01 UTC 2013
#19556: Make wp_term_checklist() available as a template tag
-------------------------+------------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by sillybean):
This patch:
* moves wp_category_checklist(), wp_terms_checklist(), and
Walker_Category_Checklist from wp-admin/includes/template.php to wp-
includes/category-template.php
* adds support for the 'name' argument to wp_terms_checklist() and
Walker_Category_Checklist (for #16437)
* removes the capability check / 'disabled' attribute
I'd appreciate a sanity check on that last point. I couldn't think of any
scenarios where the checklist was displayed but disabled, and scribu was
right about needing to remove that in order to make the function available
as a template tag.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19556#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list