mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Deprecate set_current_user() in favor of wp_set_current_user().
git-svn-id: https://develop.svn.wordpress.org/trunk@14090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -279,7 +279,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
return false;
|
||||
}
|
||||
|
||||
set_current_user( $user->ID );
|
||||
wp_set_current_user( $user->ID );
|
||||
return $user;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user