wp_list_pages bug?
-
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?
- The topic ‘wp_list_pages bug?’ is closed to new replies.