From 9defe855e67df5fd716d0cbd7fe708da449e9222 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 3 Mar 2022 16:11:44 +0000 Subject: [PATCH] Docs: Update the DocBlock for the `wpmu_new_blog` action to suggest `wp_initialize_site` as an alternative. Follow-up to [43654], [52816]. See #49612. git-svn-id: https://develop.svn.wordpress.org/trunk@52817 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-site.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/ms-site.php b/src/wp-includes/ms-site.php index 4ce7fc4de3..cdce8ff033 100644 --- a/src/wp-includes/ms-site.php +++ b/src/wp-includes/ms-site.php @@ -123,7 +123,7 @@ function wp_insert_site( array $data ) { * Fires immediately after a new site is created. * * @since MU (3.0.0) - * @deprecated 5.1.0 Use {@see 'wp_insert_site'} instead. + * @deprecated 5.1.0 Use {@see 'wp_initialize_site'} instead. * * @param int $site_id Site ID. * @param int $user_id User ID.