diff --git a/wp-includes/class-walker-nav-menu.php b/wp-includes/class-walker-nav-menu.php
index f46f14c..787b433 100644
a
|
b
|
class Walker_Nav_Menu extends Walker { |
174 | 174 | $atts['target'] = ! empty( $item->target ) ? $item->target : ''; |
175 | 175 | $atts['rel'] = ! empty( $item->xfn ) ? $item->xfn : ''; |
176 | 176 | $atts['href'] = ! empty( $item->url ) ? $item->url : ''; |
177 | | $atts['aria-current'] = $item->current ? 'page' : ''; |
| 177 | $atts['aria-current'] = ! empty( $item->current ) ? 'page' : ''; |
178 | 178 | |
179 | 179 | /** |
180 | 180 | * Filters the HTML attributes applied to a menu item's anchor element. |