Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/30/2018 10:48:14 AM (7 years ago)
Author:
hnla
Message:

Update un-escaped translatable strings

In assets folder 'attachments' there are a few strings echoing direct to markup, update these to esc_html_e() to match similar strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/shared/buddypress/assets/_attachments/avatars/index.php

    r11719 r11836  
    3232<script id="tmpl-bp-avatar-delete" type="text/html">
    3333    <# if ( 'user' === data.object ) { #>
    34         <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>
     34        <p><?php esc_html_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>
    3535        <button type="button" class="button edit" id="bp-delete-avatar"><?php esc_html_e( 'Delete My Profile Photo', 'buddypress' ); ?></button>
    3636    <# } else if ( 'group' === data.object ) { #>
Note: See TracChangeset for help on using the changeset viewer.