WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/24/2010 08:45:26 AM (8 years ago)
Author:
ryan
Message:

Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817

File:
1 edited

Legend:

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

    r13157 r13368  
    5151            <div id="access">
    5252                <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>
    53                 <?php wp_page_menu( 'sort_column=menu_order' ); ?>
     53                <?php wp_nav_menu( 'sort_column=menu_order' ); ?>
    5454            </div><!-- #access -->
    5555
Note: See TracChangeset for help on using the changeset viewer.