[wp-trac] [WordPress Trac] #22235: Blog path included in base

WordPress Trac noreply at wordpress.org
Wed Nov 7 11:37:40 UTC 2012


#22235: Blog path included in base
--------------------------+--------------------------
 Reporter:  scribu        |       Owner:  MarkJaquith
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  3.5
Component:  Multisite     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------------

Comment (by scribu):

 I think the most elegant way to go about this would be to combine the Path
 and Domain input fields into a single URL input and then use parse_url()
 to update the relevant bits.

 And, if the new path doesn't start with $base, we can show an error
 message and refuse to save it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22235#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list