Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844

git-svn-id: https://develop.svn.wordpress.org/trunk@14031 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-04-07 15:25:48 +00:00
parent e12a085938
commit 96ea328c0a
6 changed files with 51 additions and 81 deletions

View File

@@ -1178,7 +1178,7 @@ class Walker_Nav_Menu extends Walker {
* @param object $item Menu item data object.
* @param int $depth Depth of menu item. Used for padding.
* @param int $current_page Menu item ID.
* @param array $args
* @param object $args
*/
function start_el(&$output, $item, $depth, $args) {
$indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';
@@ -1217,7 +1217,6 @@ class Walker_Nav_Menu extends Walker {
function end_el(&$output, $item, $depth) {
$output .= "</li>\n";
}
}
/**