don't allow blog sub site in folder install, see #13304
git-svn-id: https://develop.svn.wordpress.org/trunk@14516 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
74a627a09d
commit
e3ee37d8a2
@ -710,6 +710,8 @@ Thanks!
|
|||||||
'subdomain_install' => intval( $subdomain_install ),
|
'subdomain_install' => intval( $subdomain_install ),
|
||||||
'global_terms_enabled' => global_terms_enabled() ? '1' : '0'
|
'global_terms_enabled' => global_terms_enabled() ? '1' : '0'
|
||||||
);
|
);
|
||||||
|
if ( !intval( $subdomain_install ) )
|
||||||
|
$sitemeta['illegal_names'][] = 'blog';
|
||||||
|
|
||||||
$insert = '';
|
$insert = '';
|
||||||
foreach ( $sitemeta as $meta_key => $meta_value ) {
|
foreach ( $sitemeta as $meta_key => $meta_value ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user