[wp-trac] [WordPress Trac] #20730: make function wp_list_categories rewritable for templates (File: category-template.php)

WordPress Trac noreply at wordpress.org
Tue Jun 16 03:59:39 UTC 2015


#20730: make function wp_list_categories rewritable for templates (File: category-
template.php)
-----------------------------+-----------------------
 Reporter:  wpuser12584      |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Taxonomy         |     Version:
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |     Focuses:  template
-----------------------------+-----------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Sorry for the delayed review. WP doesn't generally do this sort of drop-in
 file support. It doesn't play nicely with variable scope, and it makes it
 difficult to return (as opposed to echo) the generated markup. You should
 be able to make all required customizations with the 'wp_list_categories'
 filter.

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


More information about the wp-trac mailing list