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

WordPress Trac noreply at wordpress.org
Thu Aug 15 06:00:34 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 jeremyfelt):

 Replying to [comment:15 jeremyfelt]:
 > 2. Still not entirely sure if the query for the lowest site ID should be
 stored in cache in the `is_main_network()` function? Probably, because
 this will be pretty authoritative. Even if `switch_to_blog` is used, as
 long as we store the result of the query then it shouldn't be affected.

 I guess the real question is - should this happen here or in another
 function like `get_primary_network_id()`?

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


More information about the wp-trac mailing list