WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/07/2021 09:45:40 AM (7 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-walker-nav-menu.php

    r49215 r50823  
    194194         *     @type string $rel          The rel attribute.
    195195         *     @type string $href         The href attribute.
    196          *     @type string $aria_current The aria-current attribute.
     196         *     @type string $aria-current The aria-current attribute.
    197197         * }
    198198         * @param WP_Post  $item  The current menu item.
Note: See TracChangeset for help on using the changeset viewer.