Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/23/2016 05:39:30 PM (8 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.