diff --git a/wp-includes/class-wp-network.php b/wp-includes/class-wp-network.php index 5c326dd740..cc96f56ea4 100644 --- a/wp-includes/class-wp-network.php +++ b/wp-includes/class-wp-network.php @@ -219,10 +219,10 @@ class WP_Network { * * @since 4.9.0 * - * @param int|null $main_site_id If a positive integer is returned, it is interpreted as the main site ID. - * @param int $network_id The ID of the network for which the main site was detected. + * @param int|null $main_site_id If a positive integer is returned, it is interpreted as the main site ID. + * @param WP_Network $network The network object for which the main site was detected. */ - $main_site_id = (int) apply_filters( 'pre_get_main_site_id', null, $this->id ); + $main_site_id = (int) apply_filters( 'pre_get_main_site_id', null, $this ); if ( 0 < $main_site_id ) { return $main_site_id; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 54921ad503..b94d73c7ce 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-beta4-42042'; +$wp_version = '4.9-beta4-42043'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.