diff --git src/bp-xprofile/bp-xprofile-classes.php src/bp-xprofile/bp-xprofile-classes.php
index 522bb45..5c72800 100644
|
|
abstract class BP_XProfile_Field_Type { |
2833 | 2833 | <input type="text" name="<?php echo esc_attr( "{$type}_option[{$j}]" ); ?>" id="<?php echo esc_attr( "{$type}_option{$j}" ); ?>" value="<?php echo esc_attr( $options[$i]->name ); ?>" /> |
2834 | 2834 | <input type="<?php echo esc_attr( $control_type ); ?>" name="<?php echo esc_attr( "isDefault_{$type}_option{$default_name}" ); ?>" <?php checked( $options[$i]->is_default_option, true ); ?> value="<?php echo esc_attr( $j ); ?>" /> |
2835 | 2835 | <span><?php _e( 'Default Value', 'buddypress' ); ?></span> |
| 2836 | <?php if ( -1 !== $options[$i]->id ): ?> |
| 2837 | <a href="<?php echo esc_url( 'users.php?page=bp-profile-setup&mode=delete_option&option_id=' . $options[$i]->id ); ?>" class="ajax-option-delete" id="delete-<?php echo esc_attr( $options[$i]->id ); ?>">[x]</a> |
| 2838 | <?php endif ;?> |
2836 | 2839 | </p> |
2837 | 2840 | <?php endfor; ?> |
2838 | 2841 | |