Skip to:
Content

BuddyPress.org

Changeset 10904


Ignore:
Timestamp:
06/23/2016 05:39:30 PM (4 years ago)
Author:
mercime
Message:

Accessibility: Remove redundant title attributes.

This is the first sweep for removing title attributes from the
BuddyPress template files.

Fixes #7090.

Location:
trunk/src
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-template.php

    r10894 r10904  
    31633163     *     @type string $link_href         Default: the public message link for
    31643164     *                                     the current member in the loop.
    3165      *     @type string $link_title        Default: 'Send a public message on your
    3166      *                                     activity stream.'.
    31673165     *     @type string $link_text         Default: 'Public Message'.
    31683166     *     @type string $link_class        Default: 'activity-button mention'.
     
    31793177            'wrapper_id'        => 'post-mention',
    31803178            'link_href'         => bp_get_send_public_message_link(),
    3181             'link_title'        => __( 'Send a public message on your activity stream.', 'buddypress' ),
    31823179            'link_text'         => __( 'Public Message', 'buddypress' ),
    31833180            'link_class'        => 'activity-button mention'
  • trunk/src/bp-blogs/bp-blogs-template.php

    r10825 r10904  
    12811281            'component'  => 'blogs',
    12821282            'link_text'  => __( 'Create a Site', 'buddypress' ),
    1283             'link_title' => __( 'Create a Site', 'buddypress' ),
    12841283            'link_class' => 'blog-create no-ajax',
    12851284            'link_href'  => trailingslashit( bp_get_blogs_directory_permalink() . 'create' ),
     
    13781377     *     @type string $link_class        Default: 'blog-button visit'.
    13791378     *     @type string $link_text         Default: 'Visit Site'.
    1380      *     @type string $link_title        Default: 'Visit Site'.
    13811379     * }
    13821380     * @return string The HTML for the Visit button.
     
    13921390            'link_class'        => 'blog-button visit',
    13931391            'link_text'         => __( 'Visit Site', 'buddypress' ),
    1394             'link_title'        => __( 'Visit Site', 'buddypress' ),
    13951392        );
    13961393
  • trunk/src/bp-friends/bp-friends-template.php

    r10825 r10904  
    370370                    'link_href'         => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $potential_friend_id . '/', 'friends_withdraw_friendship' ),
    371371                    'link_text'         => __( 'Cancel Friendship Request', 'buddypress' ),
    372                     'link_title'        => __( 'Cancel Friendship Requested', 'buddypress' ),
    373372                    'link_id'           => 'friend-' . $potential_friend_id,
    374373                    'link_rel'          => 'remove',
     
    387386                    'link_href'         => bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/',
    388387                    'link_text'         => __( 'Friendship Requested', 'buddypress' ),
    389                     'link_title'        => __( 'Friendship Requested', 'buddypress' ),
    390388                    'link_id'           => 'friend-' . $potential_friend_id,
    391389                    'link_rel'          => 'remove',
     
    404402                    'link_href'         => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/remove-friend/' . $potential_friend_id . '/', 'friends_remove_friend' ),
    405403                    'link_text'         => __( 'Cancel Friendship', 'buddypress' ),
    406                     'link_title'        => __( 'Cancel Friendship', 'buddypress' ),
    407404                    'link_id'           => 'friend-' . $potential_friend_id,
    408405                    'link_rel'          => 'remove',
     
    421418                    'link_href'         => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $potential_friend_id . '/', 'friends_add_friend' ),
    422419                    'link_text'         => __( 'Add Friend', 'buddypress' ),
    423                     'link_title'        => __( 'Add Friend', 'buddypress' ),
    424420                    'link_id'           => 'friend-' . $potential_friend_id,
    425421                    'link_rel'          => 'add',
  • trunk/src/bp-groups/bp-groups-template.php

    r10891 r10904  
    22492249
    22502250                    <span class="small">
    2251                         <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => $mod->user_id ) ) ?>" class="button confirm mod-promote-to-admin" title="<?php esc_attr_e( 'Promote to Admin', 'buddypress' ); ?>"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
     2251                        <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => $mod->user_id ) ) ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
    22522252                        <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link($mod->user_id) ?>"><?php _e( 'Demote to Member', 'buddypress' ) ?></a>
    22532253                    </span>
     
    31633163            'link_id'           => 'new-topic-button',
    31643164            'link_text'         => __( 'New Topic', 'buddypress' ),
    3165             'link_title'        => __( 'New Topic', 'buddypress' ),
    31663165        );
    31673166
     
    32333232                'link_href'         => wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ),
    32343233                'link_text'         => __( 'Leave Group', 'buddypress' ),
    3235                 'link_title'        => __( 'Leave Group', 'buddypress' ),
    32363234                'link_class'        => 'group-button leave-group',
    32373235            );
     
    32553253                        'link_href'         => wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ),
    32563254                        'link_text'         => __( 'Join Group', 'buddypress' ),
    3257                         'link_title'        => __( 'Join Group', 'buddypress' ),
    32583255                        'link_class'        => 'group-button join-group',
    32593256                    );
     
    32743271                            'link_href'         => add_query_arg( 'redirect_to', bp_get_group_permalink( $group ), bp_get_group_accept_invite_link( $group ) ),
    32753272                            'link_text'         => __( 'Accept Invitation', 'buddypress' ),
    3276                             'link_title'        => __( 'Accept Invitation', 'buddypress' ),
    32773273                            'link_class'        => 'group-button accept-invite',
    32783274                        );
     
    32903286                            'link_href'         => bp_get_group_permalink( $group ),
    32913287                            'link_text'         => __( 'Request Sent', 'buddypress' ),
    3292                             'link_title'        => __( 'Request Sent', 'buddypress' ),
    32933288                            'link_class'        => 'group-button pending membership-requested',
    32943289                        );
     
    33063301                            'link_href'         => wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ),
    33073302                            'link_text'         => __( 'Request Membership', 'buddypress' ),
    3308                             'link_title'        => __( 'Request Membership', 'buddypress' ),
    33093303                            'link_class'        => 'group-button request-membership',
    33103304                        );
     
    33553349            'component'  => 'groups',
    33563350            'link_text'  => __( 'Create a Group', 'buddypress' ),
    3357             'link_title' => __( 'Create a Group', 'buddypress' ),
    33583351            'link_class' => 'group-create no-ajax',
    33593352            'link_href'  => trailingslashit( bp_get_groups_directory_permalink() . 'create' ),
  • trunk/src/bp-messages/bp-messages-template.php

    r10882 r10904  
    13461346                'wrapper_id'        => 'send-private-message',
    13471347                'link_href'         => bp_get_send_private_message_link(),
    1348                 'link_title'        => __( 'Send a private message to this user.', 'buddypress' ),
    13491348                'link_text'         => __( 'Private Message', 'buddypress' ),
    13501349                'link_class'        => 'send-message',
  • trunk/src/bp-templates/bp-legacy/buddypress-functions.php

    r10858 r10904  
    13451345            echo __( 'Friendship could not be canceled.', 'buddypress' );
    13461346        } else {
    1347             echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="add" rel="add" title="' . __( 'Add Friend', 'buddypress' ) . '" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $friend_id, 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>';
     1347            echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="add" rel="add" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $friend_id, 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>';
    13481348        }
    13491349
     
    13551355            echo __(' Friendship could not be requested.', 'buddypress' );
    13561356        } else {
    1357             echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="remove" rel="remove" title="' . __( 'Cancel Friendship Request', 'buddypress' ) . '" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $friend_id . '/', 'friends_withdraw_friendship' ) . '" class="requested">' . __( 'Cancel Friendship Request', 'buddypress' ) . '</a>';
     1357            echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="remove" rel="remove" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $friend_id . '/', 'friends_withdraw_friendship' ) . '" class="requested">' . __( 'Cancel Friendship Request', 'buddypress' ) . '</a>';
    13581358        }
    13591359
     
    13631363
    13641364        if ( friends_withdraw_friendship( bp_loggedin_user_id(), $friend_id ) ) {
    1365             echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="add" rel="add" title="' . __( 'Add Friend', 'buddypress' ) . '" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $friend_id, 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>';
     1365            echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="add" rel="add" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $friend_id, 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>';
    13661366        } else {
    13671367            echo __("Friendship request could not be cancelled.", 'buddypress');
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/entry.php

    r10827 r10904  
    7373                    <?php if ( !bp_get_activity_is_favorite() ) : ?>
    7474
    75                         <a href="<?php bp_activity_favorite_link(); ?>" class="button fav bp-secondary-action" title="<?php esc_attr_e( 'Mark as Favorite', 'buddypress' ); ?>"><?php _e( 'Favorite', 'buddypress' ); ?></a>
     75                        <a href="<?php bp_activity_favorite_link(); ?>" class="button fav bp-secondary-action"><?php _e( 'Favorite', 'buddypress' ); ?></a>
    7676
    7777                    <?php else : ?>
    7878
    79                         <a href="<?php bp_activity_unfavorite_link(); ?>" class="button unfav bp-secondary-action" title="<?php esc_attr_e( 'Remove Favorite', 'buddypress' ); ?>"><?php _e( 'Remove Favorite', 'buddypress' ); ?></a>
     79                        <a href="<?php bp_activity_unfavorite_link(); ?>" class="button unfav bp-secondary-action"><?php _e( 'Remove Favorite', 'buddypress' ); ?></a>
    8080
    8181                    <?php endif; ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/index.php

    r10265 r10904  
    5353            do_action( 'bp_before_activity_type_tab_all' ); ?>
    5454
    55             <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li>
     55            <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li>
    5656
    5757            <?php if ( is_user_logged_in() ) : ?>
     
    7070                    <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
    7171
    72                         <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
     72                        <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
    7373
    7474                    <?php endif; ?>
     
    8989                    <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
    9090
    91                         <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
     91                        <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>"><?php printf( __( 'My Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
    9292
    9393                    <?php endif; ?>
     
    106106                <?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?>
    107107
    108                     <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php esc_attr_e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites %s', 'buddypress' ), '<span>' . bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
     108                    <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>"><?php printf( __( 'My Favorites %s', 'buddypress' ), '<span>' . bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
    109109
    110110                <?php endif; ?>
     
    121121                    do_action( 'bp_before_activity_type_tab_mentions' ); ?>
    122122
    123                     <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>" title="<?php esc_attr_e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li>
     123                    <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li>
    124124
    125125                <?php endif; ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php

    r10181 r10904  
    3636    <# if ( 'user' === data.object ) { #>
    3737        <p><?php _e( "If you'd like to delete your current profile photo but not upload a new one, please use the delete profile photo button.", 'buddypress' ); ?></p>
    38         <p><a class="button edit" id="bp-delete-avatar" href="#" title="<?php esc_attr_e( 'Delete Profile Photo', 'buddypress' ); ?>"><?php esc_html_e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p>
     38        <p><a class="button edit" id="bp-delete-avatar" href="#"><?php esc_html_e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p>
    3939    <# } else if ( 'group' === data.object ) { #>
    4040        <p><?php _e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p>
    41         <p><a class="button edit" id="bp-delete-avatar" href="#" title="<?php esc_attr_e( 'Delete Group Profile Photo', 'buddypress' ); ?>"><?php esc_html_e( 'Delete Group Profile Photo', 'buddypress' ); ?></a></p>
     41        <p><a class="button edit" id="bp-delete-avatar" href="#"><?php esc_html_e( 'Delete Group Profile Photo', 'buddypress' ); ?></a></p>
    4242    <# } else { #>
    4343        <?php do_action( 'bp_attachments_avatar_delete_template' ); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php

    r10181 r10904  
    2525    <# if ( 'user' === data.object ) { #>
    2626        <p><?php _e( "If you'd like to delete your current cover image but not upload a new one, please use the delete Cover Image button.", 'buddypress' ); ?></p>
    27         <p><a class="button edit" id="bp-delete-cover-image" href="#" title="<?php esc_attr_e( 'Delete Cover Image', 'buddypress' ); ?>"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></a></p>
     27        <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></a></p>
    2828    <# } else if ( 'group' === data.object ) { #>
    2929        <p><?php _e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p>
    30         <p><a class="button edit" id="bp-delete-cover-image" href="#" title="<?php esc_attr_e( 'Delete Cover Image', 'buddypress' ); ?>"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></a></p>
     30        <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></a></p>
    3131    <# } else { #>
    3232        <?php do_action( 'bp_attachments_cover_image_delete_template' ); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin.php

    r10848 r10904  
    181181                <p><?php _e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p>
    182182
    183                 <?php bp_button( array( 'id' => 'delete_group_avatar', 'component' => 'groups', 'wrapper_id' => 'delete-group-avatar-button', 'link_class' => 'edit', 'link_href' => bp_get_group_avatar_delete_link(), 'link_title' => __( 'Delete Group Profile Photo', 'buddypress' ), 'link_text' => __( 'Delete Group Profile Photo', 'buddypress' ) ) ); ?>
     183                <?php bp_button( array( 'id' => 'delete_group_avatar', 'component' => 'groups', 'wrapper_id' => 'delete-group-avatar-button', 'link_class' => 'edit', 'link_href' => bp_get_group_avatar_delete_link(), 'link_text' => __( 'Delete Group Profile Photo', 'buddypress' ) ) ); ?>
    184184
    185185            <?php endif; ?>
     
    302302                            <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a>
    303303                            <span class="small">
    304                                 <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin" title="<?php esc_attr_e( 'Promote to Admin', 'buddypress' ); ?>"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
     304                                <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
    305305                                <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a>
    306306                            </span>
     
    356356                            <?php else : ?>
    357357
    358                                 <a href="<?php bp_group_member_ban_link(); ?>" class="button confirm member-ban" title="<?php esc_attr_e( 'Kick and ban this member', 'buddypress' ); ?>"><?php _e( 'Kick &amp; Ban', 'buddypress' ); ?></a>
    359                                 <a href="<?php bp_group_member_promote_mod_link(); ?>" class="button confirm member-promote-to-mod" title="<?php esc_attr_e( 'Promote to Mod', 'buddypress' ); ?>"><?php _e( 'Promote to Mod', 'buddypress' ); ?></a>
    360                                 <a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm member-promote-to-admin" title="<?php esc_attr_e( 'Promote to Admin', 'buddypress' ); ?>"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
     358                                <a href="<?php bp_group_member_ban_link(); ?>" class="button confirm member-ban"><?php _e( 'Kick &amp; Ban', 'buddypress' ); ?></a>
     359                                <a href="<?php bp_group_member_promote_mod_link(); ?>" class="button confirm member-promote-to-mod"><?php _e( 'Promote to Mod', 'buddypress' ); ?></a>
     360                                <a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm member-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
    361361
    362362                            <?php endif; ?>
    363363
    364                                 <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm" title="<?php esc_attr_e( 'Remove this member', 'buddypress' ); ?>"><?php _e( 'Remove from group', 'buddypress' ); ?></a>
     364                                <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm"><?php _e( 'Remove from group', 'buddypress' ); ?></a>
    365365
    366366                                <?php
     
    505505
    506506</form><!-- #group-settings-form -->
    507 
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php

    r10813 r10904  
    5555                <div class="action">
    5656
    57                     <?php bp_button( array( 'id' => 'group_membership_accept', 'component' => 'groups', 'wrapper_class' => 'accept', 'link_href' => bp_get_group_request_accept_link(), 'link_title' => __( 'Accept', 'buddypress' ), 'link_text' => __( 'Accept', 'buddypress' ) ) ); ?>
     57                    <?php bp_button( array( 'id' => 'group_membership_accept', 'component' => 'groups', 'wrapper_class' => 'accept', 'link_href' => bp_get_group_request_accept_link(), 'link_text' => __( 'Accept', 'buddypress' ) ) ); ?>
    5858
    59                     <?php bp_button( array( 'id' => 'group_membership_reject', 'component' => 'groups', 'wrapper_class' => 'reject', 'link_href' => bp_get_group_request_reject_link(), 'link_title' => __( 'Reject', 'buddypress' ), 'link_text' => __( 'Reject', 'buddypress' ) ) ); ?>
     59                    <?php bp_button( array( 'id' => 'group_membership_reject', 'component' => 'groups', 'wrapper_class' => 'reject', 'link_href' => bp_get_group_request_reject_link(), 'link_text' => __( 'Reject', 'buddypress' ) ) ); ?>
    6060
    6161                    <?php
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php

    r10827 r10904  
    4343            <?php if ( bp_get_user_has_avatar() ) : ?>
    4444                <p><?php _e( "If you'd like to delete your current profile photo but not upload a new one, please use the delete profile photo button.", 'buddypress' ); ?></p>
    45                 <p><a class="button edit" href="<?php bp_avatar_delete_link(); ?>" title="<?php esc_attr_e( 'Delete Profile Photo', 'buddypress' ); ?>"><?php _e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p>
     45                <p><a class="button edit" href="<?php bp_avatar_delete_link(); ?>"><?php _e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p>
    4646            <?php endif; ?>
    4747
  • trunk/src/bp-xprofile/bp-xprofile-template.php

    r10828 r10904  
    12301230        'link_class'        => 'edit',
    12311231        'link_text'         => __( 'Edit Profile', 'buddypress' ),
    1232         'link_title'        => __( 'Edit Profile', 'buddypress' ),
    12331232    ) );
    12341233}
     
    13881387            <?php else : ?>
    13891388
    1390                 <span class="field-visibility-settings-notoggle" title="<?php esc_attr_e( "This field's visibility cannot be changed.", 'buddypress' ); ?>"><?php bp_the_profile_field_visibility_level_label(); ?></span>
     1389                <span class="field-visibility-settings-notoggle"><?php bp_the_profile_field_visibility_level_label(); ?></span>
    13911390
    13921391            <?php endif;
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-user-admin.php

    r10825 r10904  
    482482                $delete_link   = wp_nonce_url( $community_url, 'delete_avatar' ); ?>
    483483
    484                 <a href="<?php echo esc_url( $delete_link ); ?>" title="<?php esc_attr_e( 'Delete Profile Photo', 'buddypress' ); ?>" class="bp-xprofile-avatar-user-admin"><?php esc_html_e( 'Delete Profile Photo', 'buddypress' ); ?></a>
     484                <a href="<?php echo esc_url( $delete_link ); ?>" class="bp-xprofile-avatar-user-admin"><?php esc_html_e( 'Delete Profile Photo', 'buddypress' ); ?></a>
    485485
    486486            <?php endif;
     
    488488            // Load the Avatar UI templates if user avatar uploads are enabled and current WordPress version is supported.
    489489            if ( ! bp_core_get_root_option( 'bp-disable-avatar-uploads' ) && bp_attachments_is_wp_version_supported() ) : ?>
    490                 <a href="#TB_inline?width=800px&height=400px&inlineId=bp-xprofile-avatar-editor" title="<?php esc_attr_e( 'Edit Profile Photo', 'buddypress' );?>" class="thickbox bp-xprofile-avatar-user-edit"><?php esc_html_e( 'Edit Profile Photo', 'buddypress' ); ?></a>
     490                <a href="#TB_inline?width=800px&height=400px&inlineId=bp-xprofile-avatar-editor" class="thickbox bp-xprofile-avatar-user-edit"><?php esc_html_e( 'Edit Profile Photo', 'buddypress' ); ?></a>
    491491                <div id="bp-xprofile-avatar-editor" style="display:none;">
    492492                    <?php bp_attachments_get_template_part( 'avatars/index' ); ?>
Note: See TracChangeset for help on using the changeset viewer.