Wordpress/tests
Sergey Biryukov 65f22692bb Networks and Sites: Ensure the site ID in wp_insert_site() is still correct after calling clean_blog_cache().
By saving `$wpdb->insert_id` to a variable, we make sure the ID does not change if another database insert is performed on the `clean_site_cache` action.

Props trepmal.
Fixes #50324.

git-svn-id: https://develop.svn.wordpress.org/trunk@47932 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-09 12:39:09 +00:00
..
e2e
phpunit Networks and Sites: Ensure the site ID in wp_insert_site() is still correct after calling clean_blog_cache(). 2020-06-09 12:39:09 +00:00
qunit Tests: Update wp-api-generated.js. 2020-05-04 00:26:52 +00:00