]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/post-template.php
Wordpress 3.1.3
[autoinstalls/wordpress.git] / wp-includes / post-template.php
index bf4671b6fe0ee775ddb9765f99b3f6d6647598ac..98b6fede780cb6c876461005da5536c596c72366 100644 (file)
@@ -1100,9 +1100,8 @@ class Walker_PageDropdown extends Walker {
                if ( $page->ID == $args['selected'] )
                        $output .= ' selected="selected"';
                $output .= '>';
-               $title = esc_html($page->post_title);
                $title = apply_filters( 'list_pages', $page->post_title );
-               $output .= "$pad$title";
+               $output .= $pad . esc_html( $title );
                $output .= "</option>\n";
        }
 }