Make WordPress Core


Ignore:
Timestamp:
05/07/2021 09:45:40 AM (4 years 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-page.php

    r47808 r50823  
    174174         *
    175175         *     @type string $href         The href attribute.
    176          *     @type string $aria_current The aria-current attribute.
     176         *     @type string $aria-current The aria-current attribute.
    177177         * }
    178178         * @param WP_Post $page         Page data object.
Note: See TracChangeset for help on using the changeset viewer.