mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +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:
@@ -478,8 +478,7 @@ function count_users($strategy = 'time') {
|
||||
/**
|
||||
* Set up global user vars.
|
||||
*
|
||||
* Used by set_current_user() for back compat. Might be deprecated in the
|
||||
* future.
|
||||
* Used by wp_set_current_user() for back compat. Might be deprecated in the future.
|
||||
*
|
||||
* @since 2.0.4
|
||||
* @global string $userdata User description.
|
||||
|
||||
Reference in New Issue
Block a user