Files
wordpress/wp-includes/ms-functions.php
Sergey Biryukov 51478af645 Coding Standards: Replace redundant check in wpmu_validate_blog_signup().
The `is_object()` check would always be true in the second part of the conditional. This commit adds an `instanceof WP_User` check instead before accessing the `user_login` property.

Follow-up to [41963], [https://mu.trac.wordpress.org/changeset/550 mu:550], [https://mu.trac.wordpress.org/changeset/1958 mu:1958], [12603].

Props justlevine.
See #63268.
Built from https://develop.svn.wordpress.org/trunk@60450


git-svn-id: http://core.svn.wordpress.org/trunk@59786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-13 15:22:36 +00:00

90 KiB