diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 2f16281754..94418ad350 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -1422,10 +1422,12 @@ Disable these notifications: %4$s' * to the network administrator. * * @since MU (3.0.0) + * @since 5.4.0 The `$blog_id` parameter was added. * - * @param string $msg Email body. + * @param string $msg Email body. + * @param int $blog_id The new site's ID. */ - $msg = apply_filters( 'newblog_notify_siteadmin', $msg ); + $msg = apply_filters( 'newblog_notify_siteadmin', $msg, $blog_id ); /* translators: New site notification email subject. %s: New site URL. */ wp_mail( $email, sprintf( __( 'New Site Registration: %s' ), $siteurl ), $msg ); diff --git a/wp-includes/version.php b/wp-includes/version.php index f7fbbf8ba6..d6fb72ebad 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46696'; +$wp_version = '5.4-alpha-46697'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.