Upgrade/Install: Add missing call to clear site meta cache in `populate_site_meta()`.
See #44896. Built from https://develop.svn.wordpress.org/trunk@44526 git-svn-id: http://core.svn.wordpress.org/trunk@44357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
83603991c6
commit
5bb4a5aa0e
|
@ -1329,5 +1329,6 @@ function populate_site_meta( $site_id, array $meta = array() ) {
|
|||
|
||||
$wpdb->query( "INSERT INTO $wpdb->blogmeta ( blog_id, meta_key, meta_value ) VALUES " . $insert ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
||||
|
||||
wp_cache_delete( $site_id, 'blog_meta' );
|
||||
wp_cache_set_sites_last_changed();
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-alpha-44525';
|
||||
$wp_version = '5.1-alpha-44526';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue