Make WordPress Core


Ignore:
Timestamp:
03/25/2018 06:09:56 PM (9 years ago)
Author:
johnbillion
Message:

Docs: Document more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

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

    r42343 r42875  
    142142                 * @see wp_list_pages()
    143143                 *
    144                  * @param array   $css_class    An array of CSS classes to be applied
    145                  *                              to each list item.
    146                  * @param WP_Post $page         Page data object.
    147                  * @param int     $depth        Depth of page, used for padding.
    148                  * @param array   $args         An array of arguments.
    149                  * @param int     $current_page ID of the current page.
     144                 * @param string[] $css_class    An array of CSS classes to be applied to each list item.
     145                 * @param WP_Post  $page         Page data object.
     146                 * @param int      $depth        Depth of page, used for padding.
     147                 * @param array    $args         An array of arguments.
     148                 * @param int      $current_page ID of the current page.
    150149                 */
    151150                $css_classes = implode( ' ', apply_filters( 'page_css_class', $css_class, $page, $depth, $args, $current_page ) );
Note: See TracChangeset for help on using the changeset viewer.