Coder Social home page Coder Social logo

Comments (3)

DouglasHendrick avatar DouglasHendrick commented on August 15, 2024

The dates are not helpful, the first report above was 2011-02-24, the current stable version (1.13.3) was released on 2011-01-06.

from wordpress.

DouglasHendrick avatar DouglasHendrick commented on August 15, 2024

header.php
ln17

<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Header Left Sidebar') ) : ?>
              <ul>
                <li><a href="<?php echo home_url(); ?>">Home</a></li>
                <?php wp_list_pages('title_li='); ?>
                <li><a href="<?php bloginfo('atom_url'); ?>">Feed</a></li>
                <?php if (is_user_logged_in()) { ?>
                    <li><a href="<?php echo get_option('siteurl'); ?>/wp-admin/">Admin</a></li>
                <?php } ?>
                <li><?php wp_loginout(); ?></li>
              </ul>
              <?php wp_nav_menu(); ?>
            <?php endif; ?>`

ln20:<?php wp_list_pages('title_li='); ?> and ln27:<?php wp_nav_menu(); ?> are both creating the page menu.

wp_nav_menu is a newer wordpress function that does much the same thing as wp_list_pages, only more.

The wp_nav_menu was added 2010-12-21 at commit 550ca6f and included in the v1.13 major release on 2010-12-22.

from wordpress.

DouglasHendrick avatar DouglasHendrick commented on August 15, 2024

This leaves us with non-backward-compatibility, the non-backward compatibility will be addressed as issue #2 rather than reversing the fix and reverting to wp_list_pages

from wordpress.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.