Deprecate set_current_user() in favor of wp_set_current_user().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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