WordPress.org

Make WordPress Core

Changeset 9093


Ignore:
Timestamp:
10/07/2008 06:03:43 PM (10 years ago)
Author:
ryan
Message:

before and after for comment_reply_link(). see #7635

File:
1 edited

Legend:

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

    r9092 r9093  
    891891
    892892    $defaults = array('add_below' => 'comment', 'respond_id' => 'respond', 'reply_text' => __('Reply'),
    893         'login_text' => __('Log in to Reply'), 'depth' => 0);
     893        'login_text' => __('Log in to Reply'), 'depth' => 0, 'before' => '', 'after' => '');
    894894
    895895    $args = wp_parse_args($args, $defaults);
     
    913913        $link = "<a href='#' onclick='moveAddCommentForm(\"$add_below-$comment->comment_ID\", $comment->comment_ID, \"$respond_id\"); return false;'>$reply_text</a>";
    914914
    915     return $link;
     915    return $before . $link . $after;
    916916}
    917917
Note: See TracChangeset for help on using the changeset viewer.