WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/02/2017 10:13:04 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Standardise the format used for documenting parameters passed by reference.

See #35974, #41017

File:
1 edited

Legend:

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

    r41162 r41688  
    5656     * @abstract
    5757     *
    58      * @param string $output Passed by reference. Used to append additional content.
     58     * @param string $output Used to append additional content (passed by reference).
    5959     * @param int    $depth  Depth of the item.
    6060     * @param array  $args   An array of additional arguments.
     
    7171     * @abstract
    7272     *
    73      * @param string $output Passed by reference. Used to append additional content.
     73     * @param string $output Used to append additional content (passed by reference).
    7474     * @param int    $depth  Depth of the item.
    7575     * @param array  $args   An array of additional arguments.
     
    8686     * @abstract
    8787     *
    88      * @param string $output            Passed by reference. Used to append additional content.
     88     * @param string $output            Used to append additional content (passed by reference).
    8989     * @param object $object            The data object.
    9090     * @param int    $depth             Depth of the item.
     
    102102     * @abstract
    103103     *
    104      * @param string $output Passed by reference. Used to append additional content.
     104     * @param string $output Used to append additional content (passed by reference).
    105105     * @param object $object The data object.
    106106     * @param int    $depth  Depth of the item.
     
    122122     *
    123123     * @param object $element           Data object.
    124      * @param array  $children_elements List of elements to continue traversing.
     124     * @param array  $children_elements List of elements to continue traversing (passed by reference).
    125125     * @param int    $max_depth         Max depth to traverse.
    126126     * @param int    $depth             Depth of current element.
    127127     * @param array  $args              An array of arguments.
    128      * @param string $output            Passed by reference. Used to append additional content.
     128     * @param string $output            Used to append additional content (passed by reference).
    129129     */
    130130    public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
Note: See TracChangeset for help on using the changeset viewer.