Changeset 4657 for trunk/bp-themes/bp-default/functions.php
- Timestamp:
- 07/14/2011 07:07:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r4611 r4657 440 440 <p> 441 441 <?php 442 if ( c urrent_user_can( 'edit_comment', get_comment_ID()) )442 if ( comments_open() ) 443 443 $links = get_comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ); 444 444 else … … 450 450 </p> 451 451 452 <?php if ( c omments_open() ) : ?>452 <?php if ( current_user_can( 'edit_comment', $comment->comment_ID ) ) : ?> 453 453 <div class="comment-options"><?php printf( '<a class="comment-edit-link bp-secondary-action" href="%1$s" title="%2$s">%3$s</a> ', get_edit_comment_link( $comment->comment_ID ), esc_attr__( 'Edit comment', 'buddypress' ), __( 'Edit', 'buddypress' ) ) ?></div> 454 454 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.