WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
09/05/2018 02:42:35 PM (18 months ago)
Author:
flixos90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41333, comment 25

    initial v1  
    1818* Add tests to ensure `wp_insert_site()` triggers `wp_initialize_site()` with proper arguments correctly.
    1919* Add tests to ensure `wp_delete_site()` triggers `wp_uninitialize_site()` correctly.
    20 * Unhook `wp_initialize_site()` from `wp_initialize_site` for all `wp_insert_site()` tests that don't interact with the site's scope at all, to significantly improve tests performance.
     20* Remove all actions from `wp_initialize_site` for all `wp_insert_site()` tests that don't interact with the site's scope at all, to significantly improve tests performance.
    2121* Add tests for the new `wp_validate_site_deletion` action.