WordPress.org

Make WordPress Core

Ticket #13660: nav-menu-paramters.diff

File nav-menu-paramters.diff, 1018 bytes (added by iandstewart, 4 years ago)
  • header.php

     
    8383                          <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?> 
    8484                                <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div> 
    8585                                <?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu.  The menu assiged to the primary position is the one used.  If none is assigned, the menu with the lowest ID is used.  */ ?> 
    86                                 <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> 
     86                                <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> 
    8787                        </div><!-- #access --> 
    8888                </div><!-- #masthead --> 
    8989        </div><!-- #header -->