[wp-trac] [WordPress Trac] #13304: Disallow the creation of a /blog/ site
WordPress Trac
wp-trac at lists.automattic.com
Sat May 15 22:07:38 UTC 2010
#13304: Disallow the creation of a /blog/ site
--------------------------+-------------------------------------------------
Reporter: ocean90 | Owner: wpmuguru
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Multisite | Version:
Severity: blocker | Keywords: needs-patch
--------------------------+-------------------------------------------------
Comment(by wpmuguru):
Replying to [comment:5 nacin]:
> We were talking about this in IRC, it should be reserved_blognames for
names we must absolutely block, such as blog, files, wp-includes, wp-
content, etc. Illegal names can be changed in the admin and they should be
for signups only.
>
> Reserved names should be blocked when creating a site in the admin, via
signup, and also when trying to query said site in ms-settings (as it is
there now).
>
> That said, the array should be filterable.
Users are not allowed to sign up with a '-' in the blogname. So, the only
ones that need to be blocked are blog & files.
Since we are expecting a basic level of competency in super admins, I am
opposed to putting a hard coded block in that prevents super admins from
creating wp- conflicting sites.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13304#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list