Make WordPress Core

Changeset 37052


Ignore:
Timestamp:
03/22/2016 05:45:26 PM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Normalize Walker_Comment method parameter docs spacing following [37051].

See #36300.

File:
1 edited

Legend:

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

    r37051 r37052  
    124124     * @see wp_list_comments()
    125125     *
    126      * @param WP_Comment $element           Data object.
    127      * @param array  $children_elements List of elements to continue traversing. Passed by reference.
    128      * @param int    $max_depth         Max depth to traverse.
    129      * @param int    $depth             Depth of the current element.
    130      * @param array  $args              An array of arguments.
    131      * @param string $output            Used to append additional content. Passed by reference.
     126     * @param WP_Comment $element           Comment data object.
     127     * @param array      $children_elements List of elements to continue traversing. Passed by reference.
     128     * @param int        $max_depth         Max depth to traverse.
     129     * @param int        $depth             Depth of the current element.
     130     * @param array      $args              An array of arguments.
     131     * @param string     $output            Used to append additional content. Passed by reference.
    132132     */
    133133    public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
     
    165165     * @global WP_Comment $comment
    166166     *
    167      * @param string $output  Used to append additional content. Passed by reference.
     167     * @param string     $output  Used to append additional content. Passed by reference.
    168168     * @param WP_Comment $comment Comment data object.
    169      * @param int    $depth   Optional. Depth of the current comment in reference to parents. Default 0.
    170      * @param array  $args    Optional. An array of arguments. Default empty array.
    171      * @param int    $id      Optional. ID of the current comment. Default 0 (unused).
     169     * @param int        $depth   Optional. Depth of the current comment in reference to parents. Default 0.
     170     * @param array      $args    Optional. An array of arguments. Default empty array.
     171     * @param int        $id      Optional. ID of the current comment. Default 0 (unused).
    172172     */
    173173    public function start_el( &$output, $comment, $depth = 0, $args = array(), $id = 0 ) {
     
    256256     *
    257257     * @param WP_Comment $comment Comment to display.
    258      * @param int    $depth   Depth of the current comment.
    259      * @param array  $args    An array of arguments.
     258     * @param int        $depth   Depth of the current comment.
     259     * @param array      $args    An array of arguments.
    260260     */
    261261    protected function comment( $comment, $depth, $args ) {
     
    315315     *
    316316     * @param WP_Comment $comment Comment to display.
    317      * @param int    $depth   Depth of the current comment.
    318      * @param array  $args    An array of arguments.
     317     * @param int        $depth   Depth of the current comment.
     318     * @param array      $args    An array of arguments.
    319319     */
    320320    protected function html5_comment( $comment, $depth, $args ) {
Note: See TracChangeset for help on using the changeset viewer.