Make WordPress Core

Ticket #55225: 55225.diff

File 55225.diff, 795 bytes (added by bhrugesh12, 3 years ago)
  • src/wp-includes/class-wp-walker.php

    diff --git a/src/wp-includes/class-wp-walker.php b/src/wp-includes/class-wp-walker.php
    index 1350730a30..335377af8d 100644
    a b class Walker { 
    276276         * @since 5.3.0 Formalized the existing `...$args` parameter by adding it
    277277         *              to the function signature.
    278278         *
    279          * @param array $elements
     279         * @param array $elements  An array of elements.
    280280         * @param int   $max_depth The maximum hierarchical depth.
    281281         * @param int   $page_num  The specific page number, beginning with 1.
    282          * @param int   $per_page
     282         * @param int   $per_page  Number of elements per page.
    283283         * @param mixed ...$args   Optional additional arguments.
    284284         * @return string XHTML of the specified page of elements
    285285         */