WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41333, comment 12


Ignore:
Timestamp:
08/07/2018 12:37:28 PM (22 months ago)
Author:
flixos90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41333, comment 12

    initial v1  
    2323    * For inserting a site: DB transaction -> `wp_insert_site` hook -> `wp_install_site` hook
    2424    * For deleting a site: `wp_uninstall_site` hook -> DB transaction -> `wp_delete_site` hook
     25* How do we deal with the `wpmu_new_blog` and `delete_blog` actions? If we need to maintain those, they need to be moved into `wp_insert_site()` / `wp_delete_site()` respectively. We should definitely deprecate them IMO, in favor of `wp_insert_site` / `wp_delete_site`.
    2526
    2627This whole change needs quite a bit of testing, so please apply the patch and play around with it. It's not that big actually, a lot has been copy-paste only. The most important thing we need to ensure is that site installation and uninstallation (DB tables, correct initial options and content, uploads directory) work correctly.