mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
don't allow blog sub site in folder install, see #13304
git-svn-id: http://svn.automattic.com/wordpress/trunk@14516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
54222465f0
commit
cf8e9c752a
@ -710,6 +710,8 @@ Thanks!
|
||||
'subdomain_install' => intval( $subdomain_install ),
|
||||
'global_terms_enabled' => global_terms_enabled() ? '1' : '0'
|
||||
);
|
||||
if ( !intval( $subdomain_install ) )
|
||||
$sitemeta['illegal_names'][] = 'blog';
|
||||
|
||||
$insert = '';
|
||||
foreach ( $sitemeta as $meta_key => $meta_value ) {
|
||||
|
Loading…
Reference in New Issue
Block a user