post_parent dropdown fixes. get_pages() cache fix to eliminate duplicate queries.

git-svn-id: https://develop.svn.wordpress.org/trunk@10070 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-12-05 19:19:24 +00:00
parent e5f6baeedc
commit b6a0df1678
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1233,7 +1233,7 @@ class Walker_PageDropdown extends Walker {
function start_el(&$output, $page, $depth, $args) {
$pad = str_repeat(' ', $depth * 3);
$output .= "\t<option value=\"$page->ID\"";
$output .= "\t<option class=\"level-$depth\" value=\"$page->ID\"";
if ( $page->ID == $args['selected'] )
$output .= ' selected="selected"';
$output .= '>';