[wp-trac] [WordPress Trac] #14774: Incorrect multisite URL constants

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 3 15:26:02 UTC 2010


#14774: Incorrect multisite URL constants
--------------------------+-------------------------------------------------
 Reporter:  jfarthing84   |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.0.1          
 Severity:  major         |    Keywords:  dev-feedback   
--------------------------+-------------------------------------------------
 I noticed when using the multisite feature that the constants
 WP_CONTENT_URL, WP_PLUGIN_URL, WPMU_PLUGIN_URL and PLUGINS_COOKIE_PATH are
 all incorrect when on a sub-blog. They reflect the sub-blog "directory",
 which of course, doesn't exist. This also affects, of course,
 plugins_url(), content_url(), etc.

 Example:
 Right: WP_CONTENT_URL = mysite.com/wp-content
 Wrong: WP_CONTENT_URL = mysite.com/sub-blog/wp-content

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


More information about the wp-trac mailing list