This commit corrects the default `$site_id` parameter values used throughout the `WP_User` class to bring them in line with their `int` doctypes (and the doctypes of the functions used internally by the affected class methods). More specifically, * `__construct()`: `$site_id = ''` changed to `$site_id = 0` * `init()`: `$site_id = ''` changed to `$site_id = 0` * `for_blog()`: `$blog_id = ''` changed to `$blog_id = 0` * `for_site()`: `$site_id = ''` changed to `$site_id = 0` Follow-up to [12796], [15566], [18597], [41624]. Props justlevine. See #63268. Built from https://develop.svn.wordpress.org/trunk@60174 git-svn-id: http://core.svn.wordpress.org/trunk@59510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
22 KiB
22 KiB