Make WordPress Core

Changeset 38669


Ignore:
Timestamp:
09/28/2016 04:19:46 AM (8 years ago)
Author:
boonebgorges
Message:

Set default value of 'max_depth' in get_comment_reply_link().

Introduced in [8878].

Props d4z_c0nf.
Fixes #38170.

Location:
trunk
Files:
1 added
1 edited

Legend:

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

    r38121 r38669  
    15771577 *     @type string $reply_text The text of the Reply link. Default 'Reply'.
    15781578 *     @type string $login_text The text of the link to reply if logged out. Default 'Log in to Reply'.
    1579  *     @type int    $depth'     The depth of the new comment. Must be greater than 0 and less than the value
     1579 *     @type int    $max_depth  The max depth of the comment tree. Default 0.
     1580 *     @type int    $depth      The depth of the new comment. Must be greater than 0 and less than the value
    15801581 *                              of the 'thread_comments_depth' option set in Settings > Discussion. Default 0.
    15811582 *     @type string $before     The text or HTML to add before the reply link. Default empty.
     
    15941595        'reply_to_text' => __( 'Reply to %s' ),
    15951596        'login_text'    => __( 'Log in to Reply' ),
     1597        'max_depth'     => 0,
    15961598        'depth'         => 0,
    15971599        'before'        => '',
Note: See TracChangeset for help on using the changeset viewer.