Make WordPress Core


Ignore:
Timestamp:
05/31/2010 09:13:24 PM (14 years ago)
Author:
nacin
Message:

Use default wp_nav_menu sorting in Twenty Ten. props iandstewart, fixes #13660.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/header.php

    r14786 r15082  
    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 -->
Note: See TracChangeset for help on using the changeset viewer.