[wp-trac] [WordPress Trac] #19556: Make wp_term_checklist() available as a template tag

WordPress Trac noreply at wordpress.org
Mon Dec 28 19:28:38 UTC 2015


#19556: Make wp_term_checklist() available as a template tag
-------------------------+-----------------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Taxonomy     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  template
-------------------------+-----------------------------
Changes (by swissspidy):

 * keywords:  has-patch needs-testing needs-unit-tests needs-refresh => has-
     patch
 * milestone:  Awaiting Review => Future Release


Comment:

 [attachment:19556.2.diff] is an updated patch that applies cleanly against
 trunk. It does the following:

 * Moves `wp_category_checklist()` and `wp_terms_checklist()` from `wp-
 admin/includes/template.php` to `wp-includes/category-template.php`
 * Doesn't move `wp_popular_terms_checklist()`
 * Moves `wp-admin/includes/class-walker-category-checklist.php` to `wp-
 includes/class-walker-category-checklist.php`
 * Adds support for the `$name` argument to `wp_terms_checklist()` /
 `Walker_Category_Checklist` (see #16437)

 Note: If this gets committed, `svn cp` would need to be used to move the
 walker class file.

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


More information about the wp-trac mailing list