[wp-trac] [WordPress Trac] #18079: WP has dropped support of the path field in the site table

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 12 06:42:07 UTC 2011


#18079: WP has dropped support of the path field in the site table
--------------------------+------------------------------
 Reporter:  brianlayman   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by brianlayman):

 I can agree with that. The .htaccess worried me much more than the site-
 new.php change. Most of the checks are fine because they look for "wp-"
 and/or specify what must be at the end of the url. The files redirect is
 the most problematic. Plus, I think it would be entirely reasonable to
 require people to customize .htaccess if they were going to try to
 implement this structure.

 The important thing is the site-new.php change so that you don't have to
 do a core hack to get this performance back.  In 99.9999% of the cases
 $current_site->path is going to be '/'.  I didn't do a thorough search for
 uses of $base as this one file change resolved the issue I was facing.

 I/any other willing volunteer, should do a thorough search to see that
 there are no other instances.  I just want to be careful not to break the
 situation where WordPress is installed in /blog/ or /wordpress/ or
 whatever.

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


More information about the wp-trac mailing list