Make WordPress Core


Ignore:
Timestamp:
12/09/2008 06:03:31 PM (17 years ago)
Author:
ryan
Message:

Strip trailing whitespace

File:
1 edited

Legend:

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

    r10043 r10150  
    797797 *
    798798 * @param string $file Optional, default '/comments.php'. The file to load
    799  * @param bool $separate_comments Optional, whether to separate the comments by comment type. Default is false. 
     799 * @param bool $separate_comments Optional, whether to separate the comments by comment type. Default is false.
    800800 * @return null Returns null if no comments appear
    801801 */
     
    986986    if ( get_option('comment_registration') && !$user_ID )
    987987        $link = '<a rel="nofollow" href="' . site_url('wp-login.php?redirect_to=' . get_permalink()) . '">' . $login_text . '</a>';
    988     else 
     988    else
    989989        $link = "<a rel='nofollow' href='" . wp_specialchars( add_query_arg( 'replytocom', $comment->comment_ID ) ) . "#" . $respond_id . "' onclick='return addComment.moveForm(\"$add_below-$comment->comment_ID\", \"$comment->comment_ID\", \"$respond_id\")'>$reply_text</a>";
    990990
     
    10111011 *
    10121012 * @since 2.7.0
    1013  * 
     1013 *
    10141014 * @param string $text Optional. Text to display for cancel reply link.
    10151015 */
     
    10171017    if ( empty($text) )
    10181018        $text = __('Click here to cancel reply.');
    1019    
     1019
    10201020    $style = isset($_GET['replytocom']) ? '' : ' style="display:none;"';
    10211021    $link = wp_specialchars( remove_query_arg('replytocom') ) . '#respond';
Note: See TracChangeset for help on using the changeset viewer.