Ticket #8305: 8305.patch
File 8305.patch, 885 bytes (added by , 5 years ago) |
---|
-
src/bp-xprofile/bp-xprofile-admin.php
237 237 <?php if ( $group->can_delete ) : ?> 238 238 239 239 <div class="delete-button"> 240 <a class="confirm submitdelete deletion ajax-option-delete" href="<?php echo esc_url( $delete_group_url ); ?>" ><?php _ex( 'Delete Group', 'Delete Profile Fields Group', 'buddypress' ); ?></a>240 <a class="confirm submitdelete deletion ajax-option-delete" href="<?php echo esc_url( $delete_group_url ); ?>" onclick="javascript:return confirm('<?php echo esc_js( __( 'Are you sure?', 'buddypress' ) ); ?>')"><?php _ex( 'Delete Group', 'Delete Profile Fields Group', 'buddypress' ); ?></a> 241 241 </div> 242 242 243 243 <?php endif; ?>