Docs: Clarify parameter and return descriptions in the DocBlock for `wp_set_all_user_settings()`.

See [32613]. See #30989.


git-svn-id: https://develop.svn.wordpress.org/trunk@37263 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-04-20 15:44:05 +00:00
parent 33c1cd9c10
commit bb365a5dc6
1 changed files with 4 additions and 2 deletions

View File

@ -941,11 +941,13 @@ function get_all_user_settings() {
* Private. Set all user interface settings.
*
* @since 2.8.0
* @access private
*
* @global array $_updated_user_settings
*
* @param array $user_settings
* @return bool|void
* @param array $user_settings User settings.
* @return bool|null False if the current user can't be found, null if the current
* user is not a super admin or a member of the site, otherwise true.
*/
function wp_set_all_user_settings( $user_settings ) {
global $_updated_user_settings;