mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
Introduce wp_get_user_contact_methods() as a public version of _wp_get_user_contactmethods.
props johnnyb. fixes #24273. git-svn-id: https://develop.svn.wordpress.org/trunk@25606 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -350,7 +350,7 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
foreach (_wp_get_user_contactmethods( $profileuser ) as $name => $desc) {
|
||||
foreach ( wp_get_user_contact_methods( $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