Make WordPress Core

Ticket #43522: 43522.1.diff

File 43522.1.diff, 691 bytes (added by chetan200891, 3 years ago)

Updated patch.

  • 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 9589996721..5c2684929d 100644
    a b class Walker_Page extends Walker { 
    173173                 *     The HTML attributes applied to the menu item's `<a>` element, empty strings are ignored.
    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.
    179179                 * @param int     $depth        Depth of page, used for padding.