diff --git a/src/wp-includes/class-walker-nav-menu.php b/src/wp-includes/class-walker-nav-menu.php
index 5e2335a..ff07274 100644
a
|
b
|
class Walker_Nav_Menu extends Walker { |
175 | 175 | $atts['rel'] = ! empty( $item->xfn ) ? $item->xfn : ''; |
176 | 176 | $atts['href'] = ! empty( $item->url ) ? $item->url : ''; |
177 | 177 | |
| 178 | if ( in_array( 'current-menu-item', $classes, true ) ) { |
| 179 | $atts['aria-current'] = 'page'; |
| 180 | } |
| 181 | |
178 | 182 | /** |
179 | 183 | * Filters the HTML attributes applied to a menu item's anchor element. |
180 | 184 | * |