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

WordPress Trac noreply at wordpress.org
Wed Nov 25 18:54:53 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
-------------------------------+-----------------------------
Changes (by obenland):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35737"]:
 {{{
 #!CommitTicketReference repository="" revision="35737"
 Template: Defining a default value for `show_home` breaks back compat.

 To add a home link to the fallback menu output many themes only check if
 that
 argument is set. Including Twenty Ten and Twenty Eleven. They check with
 `isset()` so child themes and other instances using `wp_page_menu()` have
 a
 chance to disable the home link by setting it to `false`.

 Fixes #11095.
 }}}

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


More information about the wp-trac mailing list