mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -267,7 +267,7 @@ function update_user_option( $user_id, $option_name, $newvalue, $global = false
|
||||
global $wpdb;
|
||||
if ( !$global )
|
||||
$option_name = $wpdb->prefix . $option_name;
|
||||
return update_usermeta( $user_id, $option_name, $newvalue );
|
||||
return update_user_meta( $user_id, $option_name, $newvalue );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user