diff --git src/wp-admin/user-edit.php src/wp-admin/user-edit.php
index d1fa16a095..76d9d27a42 100644
|
|
|
endif; //!IS_PROFILE_PAGE |
| 526 | 526 | <?php |
| 527 | 527 | foreach ( wp_get_user_contact_methods( $profileuser ) as $name => $desc ) { |
| 528 | 528 | ?> |
| 529 | | <tr class="user-<?php echo $name; ?>-wrap"> |
| 530 | | <th><label for="<?php echo $name; ?>"> |
| | 529 | <tr class="user-<?php echo sanitize_html_class( $name ); ?>-wrap"> |
| | 530 | <th><label for="<?php echo esc_attr( $name ); ?>"> |
| 531 | 531 | <?php |
| 532 | 532 | /** |
| 533 | 533 | * Filters a user contactmethod label. |
| … |
… |
endif; //!IS_PROFILE_PAGE |
| 542 | 542 | echo apply_filters( "user_{$name}_label", $desc ); |
| 543 | 543 | ?> |
| 544 | 544 | </label></th> |
| 545 | | <td><input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr( $profileuser->$name ); ?>" class="regular-text" /></td> |
| | 545 | <td><input type="text" name="<?php echo esc_attr( $name ); ?>" id="<?php echo esc_attr( $name ); ?>" value="<?php echo esc_attr( $profileuser->$name ); ?>" class="regular-text" /></td> |
| 546 | 546 | </tr> |
| 547 | 547 | <?php |
| 548 | 548 | } |