Ticket #43723: 43723.patch
File 43723.patch, 1002 bytes (added by , 7 years ago) |
---|
-
wp-admin/user-edit.php
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 esc_attr($name); ?>-wrap"> 530 <th><label for="<?php echo esc_attr($name); ?>"> 531 531 <?php 532 532 /** 533 533 * Filters a user contactmethod label. … … 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 }