Changeset 9093

Show
Ignore:
Timestamp:
10/07/08 18:03:43 (2 months ago)
Author:
ryan
Message:

before and after for comment_reply_link(). see #7635

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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