Set svn:eol-style on new navigation file, Temporarily fix Notice in Menu code. See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f8fde7c96
commit
f75b8a0395
|
@ -167,6 +167,8 @@ function wp_custom_navigation_output($args = array()) {
|
|||
$target = 'target="_blank"';
|
||||
break;
|
||||
}
|
||||
|
||||
$li_class = '';
|
||||
/* @todo: update to use tax/post data
|
||||
|
||||
//SET anchor title
|
||||
|
@ -180,9 +182,6 @@ function wp_custom_navigation_output($args = array()) {
|
|||
if ($queried_id == $wp_custom_nav_menu_items->post_id) {
|
||||
$li_class = 'class="current_page_item"';
|
||||
}
|
||||
else {
|
||||
$li_class = '';
|
||||
}
|
||||
|
||||
if (isset($wp_custom_nav_menu_items->new_window)) {
|
||||
if ($wp_custom_nav_menu_items->new_window > 0) {
|
||||
|
|
Loading…
Reference in New Issue