[wp-trac] [WordPress Trac] #46072: add a $metas param to wpmu_create_blog()
WordPress Trac
noreply at wordpress.org
Wed Jan 23 18:41:48 UTC 2019
#46072: add a $metas param to wpmu_create_blog()
--------------------------------+------------------------------
Reporter: pbiron | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite
--------------------------------+------------------------------
Comment (by pbiron):
Thanx for the question. I actually meant to ask about that in my previous
comment.
In the 5.1 betas, `/wp-admin/network/site-new.php` still uses
`wpmu_create_blog()` so I figured it was still the //sanctioned// way to
create new sites and wondered why it wasn't rewritten to call
`wp_insert_site()` directly along with all the other changes included in
5.1.
If plugins are now supposed to call `wp_insert_site()` directly, then by
all means you can close this ticket.
p.s. it would be **really helpful** to get dev note(s) about all the 5.1
multisite changes sooner rather than later :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46072#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list