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:
Andrew Nacin
2010-10-21 15:42:06 +00:00
parent 63f0dd2135
commit 6d20960c97
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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>