[wp-trac] [WordPress Trac] #31656: Add menu ID argument to `wp_page_menu()` so that fallback menus have same attributes as `wp_nav_menu()`

WordPress Trac noreply at wordpress.org
Wed Nov 25 17:13:17 UTC 2015


#31656: Add menu ID argument to `wp_page_menu()` so that fallback menus have same
attributes as `wp_nav_menu()`
--------------------------+-----------------------------
 Reporter:  lancewillett  |       Owner:  wonderboymusic
     Type:  enhancement   |      Status:  reopened
 Priority:  normal        |   Milestone:  4.4
Component:  Menus         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by obenland):

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


Comment:

 Unfortunately [34330] breaks back compat with themes that rely on the id
 to be missing from `wp_page_menu()` to style the fallback menu accurately.
 We should consider reverting.

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


More information about the wp-trac mailing list