Ticket #13304: reserved_names.patch
| File reserved_names.patch, 681 bytes (added by , 16 years ago) |
|---|
-
ms-functions.php
320 320 if ( empty($path) ) 321 321 $path = '/'; 322 322 323 // Check if we're in a list of forbidden paths 324 $reserved_blognames = array( 'page', 'comments', 'blog', 'wp-admin', 'wp-includes', 'wp-content', 'files', 'feed' ); 325 if( array_key_exists($path,$reserved_blognames) ) 326 return __( 'Error: Forbidden site name.' ); 327 323 328 // Check if the domain has been used already. We should return an error message. 324 329 if ( domain_exists($domain, $path, $site_id) ) 325 330 return __( 'Error: Site URL already taken.' );
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)