Skip to:
Content

BuddyPress.org

Ticket #6081: 6081.patch

File 6081.patch, 516 bytes (added by imath, 10 years ago)
  • src/bp-xprofile/bp-xprofile-admin.php

    diff --git src/bp-xprofile/bp-xprofile-admin.php src/bp-xprofile/bp-xprofile-admin.php
    index 24d36e1..5442e7c 100644
    function xprofile_admin( $message = '', $type = 'error' ) { 
    128128
    129129                                                        <?php if ( $group->description ) : ?>
    130130
    131                                                                 <legend><?php echo esc_attr( $group->description ) ?></legend>
     131                                                                <legend><?php echo esc_attr( stripslashes( $group->description ) ) ?></legend>
    132132
    133133                                                        <?php endif;
    134134