Update get_user_option()'s PHPDoc Comment to remove mentions of blog options. See #11615
git-svn-id: http://svn.automattic.com/wordpress/trunk@13220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0cf65f18a6
commit
f0fc5c2dd4
|
@ -206,16 +206,14 @@ function user_pass_ok($user_login, $user_pass) {
|
|||
//
|
||||
|
||||
/**
|
||||
* Retrieve user option that can be either global, user, or blog.
|
||||
* Retrieve user option that can be either per Site or per Network.
|
||||
*
|
||||
* If the user ID is not given, then the current user will be used instead. If
|
||||
* the user ID is given, then the user data will be retrieved. The filter for
|
||||
* the result, will also pass the original option name and finally the user data
|
||||
* object as the third parameter.
|
||||
*
|
||||
* The option will first check for the non-global name, then the global name,
|
||||
* and if it still doesn't find it, it will try the blog option. The option can
|
||||
* either be modified or set by a plugin.
|
||||
* The option will first check for the per site name and then the per Network name.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @uses $wpdb WordPress database object for queries.
|
||||
|
@ -764,4 +762,4 @@ function clean_user_cache($id) {
|
|||
wp_cache_delete($user->user_nicename, 'userslugs');
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Loading…
Reference in New Issue