Mark the ULs containing child pages in the page Walker. Fixes #13254 props GDragoN.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
83274b1fc0
commit
b5b2fd3c8f
|
@ -1155,7 +1155,7 @@ class Walker_Page extends Walker {
|
||||||
*/
|
*/
|
||||||
function start_lvl(&$output, $depth) {
|
function start_lvl(&$output, $depth) {
|
||||||
$indent = str_repeat("\t", $depth);
|
$indent = str_repeat("\t", $depth);
|
||||||
$output .= "\n$indent<ul>\n";
|
$output .= "\n$indent<ul class='children'>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue