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:
Andrew Nacin
2010-04-14 22:06:03 +00:00
parent 977731745c
commit b202c22008
4 changed files with 23 additions and 21 deletions

View File

@@ -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.