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

WordPress Trac noreply at wordpress.org
Thu Aug 15 19:44:52 UTC 2013


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

Comment (by ddean):

 Replying to [comment:19 nacin]:
 > I don't really have a problem with keeping things limited to
 is_main_network() for now. Sure, we could add get_primary_network_id(),
 but its usefulness is also extremely limited at this time.
 >
 > `is_multi_network()` would probably make sense when we actually have
 better overall support for multiple networks. Un-breaking upload paths is,
 I think, different from actually redoing a lot of the
 multisite/network/subdirectory/subdomain/mapping paradigms and then
 formally introducing new concepts then.
 >

 This. AFAIK, the upload path issue is the first case in a long time where
 WP core has actually needed to know whether the install had multiple
 networks to work as expected. I think this is a great opportunity to
 introduce an `is_main_network()` function, but not if that's going to open
 a can of worms or delay fixing upload paths.

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


More information about the wp-trac mailing list