Docs: In various @return tags, list the expected type first, instead of false or WP_Error.
Follow-up to [46696], [47060], [49926], [49927]. See #51800. Built from https://develop.svn.wordpress.org/trunk@49929 git-svn-id: http://core.svn.wordpress.org/trunk@49628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -311,7 +311,7 @@ function upload_space_setting( $id ) {
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param int $id The user ID.
|
||||
* @return false|int The ID of the refreshed user or false if the user does not exist.
|
||||
* @return int|false The ID of the refreshed user or false if the user does not exist.
|
||||
*/
|
||||
function refresh_user_details( $id ) {
|
||||
$id = (int) $id;
|
||||
|
||||
Reference in New Issue
Block a user