mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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 .= '>';
|
||||
|
||||
Reference in New Issue
Block a user