diff --git a/src/wp-includes/class-walker-nav-menu.php b/src/wp-includes/class-walker-nav-menu.php index 1b7b4060a8..ecbb8d9642 100644 --- a/src/wp-includes/class-walker-nav-menu.php +++ b/src/wp-includes/class-walker-nav-menu.php @@ -193,7 +193,7 @@ class Walker_Nav_Menu extends Walker { * @type string $target Target attribute. * @type string $rel The rel attribute. * @type string $href The href attribute. - * @type string $aria_current The aria-current attribute. + * @type string $aria-current The aria-current attribute. * } * @param WP_Post $item The current menu item. * @param stdClass $args An object of wp_nav_menu() arguments. diff --git a/src/wp-includes/class-walker-page.php b/src/wp-includes/class-walker-page.php index 9589996721..5c2684929d 100644 --- a/src/wp-includes/class-walker-page.php +++ b/src/wp-includes/class-walker-page.php @@ -173,7 +173,7 @@ class Walker_Page extends Walker { * The HTML attributes applied to the menu item's `` element, empty strings are ignored. * * @type string $href The href attribute. - * @type string $aria_current The aria-current attribute. + * @type string $aria-current The aria-current attribute. * } * @param WP_Post $page Page data object. * @param int $depth Depth of page, used for padding.