[wp-trac] [WordPress Trac] #25030: Overlapping upload paths with multiple networks

WordPress Trac noreply at wordpress.org
Tue Aug 13 23:53:42 UTC 2013


#25030: Overlapping upload paths with multiple networks
--------------------------+------------------------------
 Reporter:  ddean         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by ddean):

 Changing `is_main_site()` to return false for all sites on secondary
 networks would break signup and Network Update on those networks.

 A new function, `is_main_network()`, could be a solution as could checking
 the `$current_site` global within `wp_upload_dir()`.

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


More information about the wp-trac mailing list