[wp-trac] [WordPress Trac] #22331: show_home not working on wp_page_menu

WordPress Trac noreply at wordpress.org
Wed Oct 31 22:48:55 UTC 2012


#22331: show_home not working on wp_page_menu
---------------------------+------------------
 Reporter:  brasofilo      |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch
 * component:  General => Bundled Theme
 * milestone:  Awaiting Review => 3.5


Comment:

 The culprit is `twentyeleven_page_menu_args()`
 (`twentytwelve_page_menu_args()` in Twenty Twelve).

 In ignores any passed value and enforces `true` instead: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.4.2/wp-
 content/themes/twentyeleven/functions.php#L372

 [attachment:22331.patch] is a fix for all three themes.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22331#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list