[wp-trac] [WordPress Trac] #41333: Implement `wp_initialize_site()` and `wp_uninitialize_site()` (was: Implement `wp_install_site()` and `wp_uninstall_site()`)
WordPress Trac
noreply at wordpress.org
Tue Aug 7 17:23:24 UTC 2018
#41333: Implement `wp_initialize_site()` and `wp_uninitialize_site()`
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: flixos90
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.0
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: ms-roadmap has-patch needs-unit- | Focuses: multisite
tests needs-testing dev-feedback |
-------------------------------------------------+-------------------------
Comment (by flixos90):
Results from today's office hours
(https://wordpress.slack.com/archives/C03BVB47S/p1533658006000406) and
next changes to implement:
* `wp_install_site` should be renamed to `wp_initialize_site`.
* `wp_uninstall_site` should be renamed to `wp_uninitialize_site`.
* A `wp_is_site_initialized()` function should be introduced that looks up
the site's DB tables, with a short-circuit hook.
* `wpmu_new_blog` should be deprecated and moved into `wp_insert_site()`.
* `delete_blog` should be deprecated and moved into `wp_delete_site()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41333#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list