Forums

wp_list_pages bug? (1 post)

  1. Bricolou
    Member
    Posted 5 years ago #

    Many theme headers have a line of code like this:
    <div id="nav"><ul><li class="page_item"><a href="<?php bloginfo('url'); ?>/"><?php _e('Home'); ?></a></li><?php wp_list_pages('title_li='. __('')); ?></ul></div><hr clear="all" />
    I've noticed lately that some themes chuck out information on my MO file after "Home". Of course, this can't happen in english language blogs > no MO file!
    I've narrowed it down to this... if I take . __('') out of wp_list_pages so that it reads ><?php wp_list_pages('title_li='; ?> the MO stuff does't show.
    Why?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 5 years ago by Bricolou
  • This topic is not a support question
  • WordPress version: 2.1.1