Docs: Correct the `aria-current` array key in the documentation for two widget filters.

This applies to `nav_menu_link_attributes` and `page_menu_link_attributes` filters.

Follow-up to [42808], [44416].

Props jnylen0, chetan200891, alexstine.
See #43522, #52628.
Built from https://develop.svn.wordpress.org/trunk@50823


git-svn-id: http://core.svn.wordpress.org/trunk@50432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-05-07 09:46:58 +00:00
parent 5354201954
commit 8cfc803e28
3 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -173,7 +173,7 @@ class Walker_Page extends Walker {
* The HTML attributes applied to the menu item's `<a>` 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.

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-50822';
$wp_version = '5.8-alpha-50823';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.