Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/25/2011 10:13:31 PM (13 years ago)
Author:
djpaul
Message:

Remove "you are logged in as..." text from the comment reply form to improve appearance. See #3241

File:
1 edited

Legend:

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

    r4816 r4861  
    603603
    604604    $new_labels = array(
    605         'comment_field'        => '<p class="form-textarea"><label for="comment">' . __( 'Comment', 'buddypress' ) . '</label><textarea name="comment" id="comment" cols="60" rows="10" aria-required="true"></textarea></p>',
    606         'fields'               => apply_filters( 'comment_form_default_fields', $fields ),
    607         'logged_in_as'         => '<p class="log-in-out">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s">Log out?</a>', 'buddypress' ), bp_loggedin_user_domain(), $user_identity, wp_logout_url( get_permalink() ) ) . '</p>',
    608         'must_log_in'          => '<p class="alert">' . sprintf( __( 'You must be <a href="%1$s">logged in</a> to post a comment.', 'buddypress' ), wp_login_url( get_permalink() ) )   . '</p>'
     605        'comment_field'  => '<p class="form-textarea"><textarea name="comment" id="comment" cols="60" rows="10" aria-required="true"></textarea></p>',
     606        'fields'         => apply_filters( 'comment_form_default_fields', $fields ),
     607        'logged_in_as'   => '',
     608        'must_log_in'    => '<p class="alert">' . sprintf( __( 'You must be <a href="%1$s">logged in</a> to post a comment.', 'buddypress' ), wp_login_url( get_permalink() ) ) . '</p>',
     609        'title_reply'    => __( 'Leave a reply', 'buddypress' )
    609610    );
    610611
Note: See TracChangeset for help on using the changeset viewer.