[wp-trac] [WordPress Trac] #13949: Add a sprintf style argument to wp_list_categories() for title tag.

WordPress Trac noreply at wordpress.org
Wed Apr 13 15:44:29 UTC 2016


#13949: Add a sprintf style argument to wp_list_categories() for title tag.
-------------------------------------------------+-------------------------
 Reporter:  mfields                              |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Taxonomy                             |  Release
 Severity:  normal                               |     Version:
 Keywords:  needs-testing needs-patch needs-     |  Resolution:
  unit-tests                                     |     Focuses:
-------------------------------------------------+-------------------------

Comment (by Mte90):

 Hi @boonebgorges thanks for the help,

 * the last patch contain the docs
 * I choosen that name after saw the name of feed_* parameters and of
 title_li
 * Now that code have a filter in this place
 https://github.com/WordPress/WordPress/blob/master/wp-includes/class-
 walker-category.php#L121 before there was an `else` that not exist anymore
 * I can try to do an unit tests for this patch

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


More information about the wp-trac mailing list