Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-template.php

    r46451 r46596  
    12031203     * @since 4.4.0 `$parsed_args` and `$pages` added as arguments.
    12041204     *
    1205      * @param string $output      HTML output for drop down list of pages.
    1206      * @param array  $parsed_args The parsed arguments array.
    1207      * @param array  $pages       List of WP_Post objects returned by `get_pages()`
     1205     * @param string    $output      HTML output for drop down list of pages.
     1206     * @param array     $parsed_args The parsed arguments array.
     1207     * @param WP_Post[] $pages       Array of the page objects.
    12081208     */
    12091209    $html = apply_filters( 'wp_dropdown_pages', $output, $parsed_args, $pages );
     
    12931293     * @since 2.1.0
    12941294     *
    1295      * @param array $exclude_array An array of page IDs to exclude.
     1295     * @param string[] $exclude_array An array of page IDs to exclude.
    12961296     */
    12971297    $parsed_args['exclude'] = implode( ',', apply_filters( 'wp_list_pages_excludes', $exclude_array ) );
     
    13311331     * @see wp_list_pages()
    13321332     *
    1333      * @param string $output      HTML output of the pages list.
    1334      * @param array  $parsed_args An array of page-listing arguments.
    1335      * @param array  $pages       List of WP_Post objects returned by `get_pages()`
     1333     * @param string    $output      HTML output of the pages list.
     1334     * @param array     $parsed_args An array of page-listing arguments.
     1335     * @param WP_Post[] $pages       Array of the page objects.
    13361336     */
    13371337    $html = apply_filters( 'wp_list_pages', $output, $parsed_args, $pages );
Note: See TracChangeset for help on using the changeset viewer.