Skip to:
Content

BuddyPress.org

Changeset 10273


Ignore:
Timestamp:
10/14/2015 03:07:21 PM (5 years ago)
Author:
djpaul
Message:

xprofile: avoid using HTML tags in translation strings.

Fixes #6660

Props ramie

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-admin.php

    r10248 r10273  
    10211021                    <p class="field-visibility-settings-<?php echo $can_change_visibility ? 'toggle' : 'notoggle'; ?>" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id(); ?>">
    10221022
    1023                         <?php printf( __( 'This field can be seen by: <span class="%s">%s</span>', 'buddypress' ), esc_attr( 'current-visibility-level' ), bp_get_the_profile_field_visibility_level_label() ); ?>
     1023                        <?php
     1024                        printf(
     1025                            __( 'This field can be seen by: %s', 'buddypress' ),
     1026                            '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
     1027                        );
     1028                        ?>
    10241029
    10251030                        <?php if ( $can_change_visibility ) : ?>
Note: See TracChangeset for help on using the changeset viewer.