mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186.
git-svn-id: https://develop.svn.wordpress.org/trunk@15896 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -322,7 +322,7 @@ else
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
foreach (_wp_get_user_contactmethods() as $name => $desc) {
|
||||
foreach (_wp_get_user_contactmethods( $profileuser ) as $name => $desc) {
|
||||
?>
|
||||
<tr>
|
||||
<th><label for="<?php echo $name; ?>"><?php echo apply_filters('user_'.$name.'_label', $desc); ?></label></th>
|
||||
|
||||
Reference in New Issue
Block a user