[wp-trac] [WordPress Trac] #23840: current_site, wpms, ajax

WordPress Trac noreply at wordpress.org
Thu Mar 21 22:18:29 UTC 2013


#23840: current_site, wpms, ajax
-----------------------------+--------------------------
 Reporter:  meglio           |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Multisite
  Version:  3.5.1            |   Severity:  major
 Keywords:                   |
-----------------------------+--------------------------
 Doing an ajax request to:
 http://2.wp.meg/wp-admin/admin-ajax.php

 In ajax handler, both global $current_site and get_current_site() is
 always id=1 (eg the main site).

 With id=1 I Have website wp.meg, while 2.wp.meg is the second one on my
 multisite installation.

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


More information about the wp-trac mailing list