[wp-trac] [WordPress Trac] #10968: Add container_element arg to wp_page_menu()
WordPress Trac
noreply at wordpress.org
Fri Sep 18 06:06:19 UTC 2015
#10968: Add container_element arg to wp_page_menu()
--------------------------------------+------------------------
Reporter: stebbiv | Owner: paulwilde
Type: enhancement | Status: closed
Priority: lowest | Milestone: 4.4
Component: Posts, Post Types | Version:
Severity: minor | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses: template
--------------------------------------+------------------------
Changes (by wonderboymusic):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"34280"]:
{{{
#!CommitTicketReference repository="" revision="34280"
Add an argument to `wp_page_menu()`, `'menu_tag'`, which defaults to `div`
but can be overridden to allow HTML5 tags like `nav`.
Props paulwilde, stebbiv, wonderboymusic.
Fixes #10968.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10968#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list