[wp-trac] [WordPress Trac] #18777: Add new site valid domain filter

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 26 11:41:32 UTC 2011


#18777: Add new site valid domain filter
---------------------------+-----------------------------
 Reporter:  TJNowell       |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Network Admin  |    Version:
 Severity:  normal         |   Keywords:  has-patch
---------------------------+-----------------------------
 I've a client who wanted to add subdirectory sites in a multisite install
 e.g.:

 example.com/department1/johnjoe

 example.com/department2/fredbloggs

 etc. But to do this, they had to add the site without the slash, then go
 back, and edit the sites URL.

 So to allow support for this, ( coupled with the obligatory custom
 sunrise.php ) and to allow error checking ( e.g. not allowing
 depoortment1, and only allowing a preset number of subfolders ), I added a
 filter.

 You'll find attached a small patch to site-new.php adding this filter

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18777>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list