Skip to:
Content

BuddyPress.org

Changeset 4416


Ignore:
Timestamp:
05/24/2011 06:26:07 PM (14 years ago)
Author:
djpaul
Message:

Remove duplicate closing anchor tag in comments list. Fixes #3248, props hnla

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r4400 r4416  
    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>
    438 
    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; ?>
    444 
    445                 <?php edit_comment_link( __( 'Edit', 'buddypress' ), '&middot; ', '' ) ?>
     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>
     439
     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; ?>
     445
     446                    <?php edit_comment_link( __( 'Edit', 'buddypress' ), '&middot; ', '' ) ?>
     447                </p>
    446448            </div>
    447449
Note: See TracChangeset for help on using the changeset viewer.