Set svn:eol-style on new navigation file, Temporarily fix Notice in Menu code. See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13280 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cdf95010d4
commit
c7e8fc7675
@ -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
Block a user