diff --git a/options-user.php b/options-user.php index 5dd9a80..39c0f7c 100644 --- a/options-user.php +++ b/options-user.php @@ -13,7 +13,7 @@ */ function shibboleth_profile_personal_options() { $user = wp_get_current_user(); - if (get_usermeta($user->ID, 'shibboleth_account')) { + if (get_user_meta($user->ID, 'shibboleth_account')) { add_filter('show_password_fields', create_function('$v', 'return false;')); add_action('admin_footer-profile.php', 'shibboleth_admin_footer_profile'); @@ -48,7 +48,7 @@ function shibboleth_admin_footer_profile() { function shibboleth_admin_footer_edit_user() { global $user_id; - if (get_usermeta($user_id, 'shibboleth_account')) { + if (get_user_meta($user_id, 'shibboleth_account')) { $shibboleth_fields = array(); $shibboleth_fields = array_merge($shibboleth_fields, shibboleth_get_managed_user_fields()); @@ -84,7 +84,7 @@ function shibboleth_admin_footer_edit_user() { function shibboleth_show_user_profile() { $user = wp_get_current_user(); $password_change_url = shibboleth_get_option('shibboleth_password_change_url'); - if (get_usermeta($user->ID, 'shibboleth_account') && !empty($password_change_url) ) { + if (get_user_meta($user->ID, 'shibboleth_account') && !empty($password_change_url) ) { ?>