Mark the ULs containing child pages in the page Walker. Fixes #13254 props GDragoN.
git-svn-id: https://develop.svn.wordpress.org/trunk@14747 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
00d3a91437
commit
cfa9702197
@ -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
Block a user