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:
nacin
2010-04-14 22:06:03 +00:00
parent 9f32130e38
commit b18ac8fcdb
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.