Skip to:
Content

BuddyPress.org

Ticket #3248: #3248-stray-anchor-comments-callback-dtheme.patch

File #3248-stray-anchor-comments-callback-dtheme.patch, 1.7 KB (added by hnla, 14 years ago)

remove stray anchor

  • bp-themes/bp-default/functions.php

     
    433433
    434434                <div class="comment-content">
    435435                        <div class="comment-meta">
    436                                 <a href="<?php echo get_comment_author_url() ?>" rel="nofollow"><?php echo get_comment_author() ?></a> <?php echo _n( 'said:', 'replied:', $depth, 'buddypress' ) ?></a>
    437                                 <span class="time-since">&nbsp; <?php comment_date() ?></span>
     436                                <p>
     437                                        <a href="<?php echo get_comment_author_url() ?>" rel="nofollow"><?php echo get_comment_author() ?></a> <?php echo _n( 'said:', 'replied:', $depth, 'buddypress' ) ?>
     438                                        <span class="time-since">&nbsp; <?php comment_date() ?></span>
    438439
    439                                 <?php if ( 1 == $depth ) : ?>
    440                                         &middot; <a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a>
    441                                 <?php else: ?>
    442                                         &middot; <?php echo comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?>
    443                                 <?php endif; ?>
     440                                        <?php if ( 1 == $depth ) : ?>
     441                                                &middot; <a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a>
     442                                        <?php else: ?>
     443                                                &middot; <?php echo comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?>
     444                                        <?php endif; ?>
    444445
    445                                 <?php edit_comment_link( __( 'Edit', 'buddypress' ), '&middot; ', '' ) ?>
     446                                        <?php edit_comment_link( __( 'Edit', 'buddypress' ), '&middot; ', '' ) ?>
     447                                </p>
    446448                        </div>
    447449
    448450                        <?php if ( $comment->comment_approved == '0' ) : ?>