Populate WPLANG site option when setting up a network. Props SergeyBiryukov. fixes #21726
git-svn-id: http://core.svn.wordpress.org/trunk@22257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1714e085e4
commit
f742b675be
|
@ -910,6 +910,7 @@ We hope you enjoy your new site. Thanks!
|
||||||
'ms_files_rewriting' => is_multisite() ? get_site_option( 'ms_files_rewriting' ) : '0',
|
'ms_files_rewriting' => is_multisite() ? get_site_option( 'ms_files_rewriting' ) : '0',
|
||||||
'initial_db_version' => get_option( 'initial_db_version' ),
|
'initial_db_version' => get_option( 'initial_db_version' ),
|
||||||
'active_sitewide_plugins' => array(),
|
'active_sitewide_plugins' => array(),
|
||||||
|
'WPLANG' => get_locale(),
|
||||||
);
|
);
|
||||||
if ( ! $subdomain_install )
|
if ( ! $subdomain_install )
|
||||||
$sitemeta['illegal_names'][] = 'blog';
|
$sitemeta['illegal_names'][] = 'blog';
|
||||||
|
|
Loading…
Reference in New Issue