Skip to:
Content

BuddyPress.org

Ticket #4646: 4646.patch

File 4646.patch, 825 bytes (added by slaFFik, 8 years ago)
  • src/bp-xprofile/bp-xprofile-admin.php

     
    618618                                <?php if ( $field->can_delete ) : ?>
    619619
    620620                                        <div class="delete-button">
    621                                                 <a class="confirm submit-delete deletion" href="users.php?page=bp-profile-setup&amp;field_id=<?php echo esc_attr( $field->id ); ?>&amp;mode=delete_field"><?php _e( 'Delete', 'buddypress' ); ?></a>
     621                                                <a class="confirm submit-delete deletion" href="users.php?page=bp-profile-setup&amp;field_id=<?php echo esc_attr( $field->id ); ?>&amp;mode=delete_field#tabs-<?php echo esc_attr( $field->group_id ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a>
    622622                                        </div>
    623623
    624624                                <?php endif; ?>