diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/ms-load.php --- a/wp/wp-includes/ms-load.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/ms-load.php Wed Sep 21 18:19:35 2022 +0200 @@ -155,8 +155,6 @@ * @since 3.9.0 * @since 4.7.0 Updated to always return a `WP_Site` object. * - * @global wpdb $wpdb WordPress database abstraction object. - * * @param string $domain Domain to check. * @param string $path Path to check. * @param int|null $segments Path segments to use. Defaults to null, or the full path. @@ -409,9 +407,9 @@ * * @since 3.9.0 * - * @param object $current_site The network that had been determined. - * @param string $domain The domain used to search for a site. - * @param string $path The path used to search for a site. + * @param WP_Network $current_site The network that had been determined. + * @param string $domain The domain used to search for a site. + * @param string $path The path used to search for a site. */ do_action( 'ms_site_not_found', $current_site, $domain, $path ); @@ -519,8 +517,8 @@ * @since 3.0.0 * @deprecated 3.9.0 Use get_current_site() instead. * - * @param object $current_site - * @return object + * @param WP_Network $current_site + * @return WP_Network */ function get_current_site_name( $current_site ) { _deprecated_function( __FUNCTION__, '3.9.0', 'get_current_site()' ); @@ -537,9 +535,9 @@ * @since 3.0.0 * @deprecated 3.9.0 * - * @global object $current_site + * @global WP_Network $current_site * - * @return object + * @return WP_Network */ function wpmu_current_site() { global $current_site;