[wp-trac] [WordPress Trac] #11095: Format wp_list_pages and wp_page_menu without <li> tags

WordPress Trac noreply at wordpress.org
Mon Sep 14 19:09:32 UTC 2015


#11095: Format wp_list_pages and wp_page_menu without <li> tags
-------------------------------+-----------------------
 Reporter:  zialingua          |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:  template
-------------------------------+-----------------------
Changes (by wonderboymusic):

 * keywords:  has-patch => needs-patch
 * type:  feature request => enhancement
 * milestone:  Future Release => 4.4


Comment:

 Seems like `wp_page_menu()` needs to be able to accept `'walker'` and
 remove some of the hardcoded HTML bits. `wp_list_pages()` already accepts
 `'walker'`

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


More information about the wp-trac mailing list