[wp-trac] [WordPress Trac] #49612: wpmu_new_blog hook has been deprecated. Use wp_initialize_site instead.
WordPress Trac
noreply at wordpress.org
Thu Mar 3 15:22:13 UTC 2022
#49612: wpmu_new_blog hook has been deprecated. Use wp_initialize_site instead.
--------------------------------+------------------------------
Reporter: asaquzzaman | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: | Focuses: multisite
--------------------------------+------------------------------
Comment (by MadtownLems):
I've been cleaning up old plugins of wpmu_new_blog, and came here to make
this exact request. Suggesting wp_insert_site is NOT a good replacement.
The suggestion should absolutely be wp_initialize_site instead! (or at
least mention both and let people see which makes sense for their specific
case)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49612#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list