Ticket #43522: 43522.diff
File 43522.diff, 503 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/class-walker-page.php
diff --git a/src/wp-includes/class-walker-page.php b/src/wp-includes/class-walker-page.php index 838abe3..d767294 100644
a b class Walker_Page extends Walker { 159 159 160 160 $atts = array(); 161 161 $atts['href'] = get_permalink( $page->ID ); 162 $atts['aria-current'] = ( $page->ID == $current_page ) ? 'page' : ''; 162 163 163 164 /** 164 165 * Filters the HTML attributes applied to a page menu item's anchor element.