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

WordPress Trac noreply at wordpress.org
Mon Sep 28 00:46:21 UTC 2015


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

Comment (by DrewAPicture):

 In [changeset:"34654"]:
 {{{
 #!CommitTicketReference repository="" revision="34654"
 Tests: Add a test for the 'before' and 'after' arguments in
 `wp_page_menu()` when used as a fallback for `wp_nav_menu()`.

 When `wp_page_menu()` is used as a fallback for `wp_nav_menu()`, the
 `before` and `after` arguments should be set and output as `<ul>` and
 `</ul>`, respectively.

 See #11095. See [34653].
 }}}

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


More information about the wp-trac mailing list