﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
13997,wp_nav_menu enhancement,Kaiey,,"Additional parameters need to be added to wp_nav_menu.

When trying to convert my theme that used wp_list_pages to generate navigation to wp_nav_menu I noticed I was unable to list the children of (""child_of"" parameter) a specific menu item.

This was problematic as my theme displayed the children pages for the parent of the current page.

wp_nav_menu should be extended to include as mentioned at http://www.wptavern.com/forum/general-wordpress/1506-any-news-v3-2.html#post14806
{{{
<?php $args = array( 
    'depth'        => 0, 
    'show_date'    => , 
    'show_pages'     => 0, // defaults to TRUE, set to FALSE to display a menu of only cats or links 
    'show_cats'     => 0, // defaults to FALSE, set to TRUE to include categories 
    'show_linkcats'     => 0, // defaults to FALSE, set to TRUE to include links (by link category) 
    'date_format'  => get_option('date_format'), 
    'child_of'     => 0, 
    'child_of_cat'     => 0, // categories that are children of specified Category ID 
    'child_of_linkcat'     => 0, // links that are children of specified LinkCat ID 
    'exclude'      => , 
    'exclude_cat'      => , // categories to exclude, if including categories 
    'exclude_linkcat'      => , // link categories to exclude, if including links 
    'include'      => , 
    'include_cat'      => , // categories to include explicitly; used with show_cats 
    'include_linkcat'      => , // link categories to include explicitly; used with show_linkcats 
    'title_li'     => __('Pages'), 
    'echo'         => 1, 
    'authors'      => , 
    'sort_column'  => 'menu_order, post_title', 
    'link_before'  => , 
    'link_after'   => , 
    'exclude_tree' => , 
    'exclude_cat_tree' => , // exclude specified category tree; used with show_cats 
    'exclude_linkcat_tree' =>  // exclude specified link category tree; used with show_linkcats 
}}}

",enhancement,closed,normal,,Menus,3.0,normal,wontfix,needs-patch 2nd-opinion dev-feedback,
