- Timestamp:
- 06/24/2017 02:09:40 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-user-admin.php
r11447 r11620 358 358 359 359 <div<?php bp_field_css_class( 'bp-profile-field' ); ?>> 360 <fieldset> 360 361 361 362 <?php … … 363 364 $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() ); 364 365 $field_type->edit_field_html( array( 'user_id' => $r['user_id'] ) ); 365 366 if ( bp_get_the_profile_field_description() ) : ?>367 368 <p class="description"><?php bp_the_profile_field_description(); ?></p>369 370 <?php endif;371 366 372 367 /** … … 379 374 $can_change_visibility = bp_current_user_can( 'bp_xprofile_change_field_visibility' ); ?> 380 375 381 <p class="field-visibility-settings-<?php echo $can_change_visibility ? 'toggle' : 'notoggle'; ?>" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id(); ?>"> 376 <p class="field-visibility-settings-<?php echo $can_change_visibility ? 'toggle' : 'notoggle'; ?>" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id(); ?>"><span id="<?php bp_the_profile_field_input_name(); ?>-2"> 382 377 383 378 <?php … … 387 382 ); 388 383 ?> 384 </span> 389 385 390 386 <?php if ( $can_change_visibility ) : ?> 391 387 392 <button type="button" class="button visibility-toggle-link" ><?php esc_html_e( 'Change', 'buddypress' ); ?></button>388 <button type="button" class="button visibility-toggle-link" aria-describedby="<?php bp_the_profile_field_input_name(); ?>-2" aria-expanded="false"><?php esc_html_e( 'Change', 'buddypress' ); ?></button> 393 389 394 390 <?php endif; ?> … … 418 414 do_action( 'bp_custom_profile_edit_fields' ); ?> 419 415 416 </fieldset> 420 417 </div> 421 418
Note: See TracChangeset
for help on using the changeset viewer.