mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
git-svn-id: https://develop.svn.wordpress.org/trunk@18899 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1172,7 +1172,7 @@ function install_blog($blog_id, $blog_title = '') {
|
||||
$url = get_blogaddress_by_id($blog_id);
|
||||
|
||||
// Set everything up
|
||||
make_db_current_silent();
|
||||
make_db_current_silent( 'blog' );
|
||||
populate_options();
|
||||
populate_roles();
|
||||
$wp_roles->_init();
|
||||
|
||||
Reference in New Issue
Block a user