Skip to content

Commit 7617171

Browse files
Coding Standards: Explicitly return null in wp_set_all_user_settings().
This matches the documented `@return` type. Follow-up to [22256], [37263], [39932], [48320]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60361 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 99499d8 commit 7617171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/option.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1880,7 +1880,7 @@ function wp_set_all_user_settings( $user_settings ) {
18801880
}
18811881

18821882
if ( ! is_user_member_of_blog() ) {
1883-
return;
1883+
return null;
18841884
}
18851885

18861886
$settings = '';

0 commit comments

Comments
 (0)