[wp-trac] [WordPress Trac] #15903: Don't use self_admin_url() on ms-users list

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 20 13:04:56 UTC 2010


#15903: Don't use self_admin_url() on ms-users list
---------------------------+-----------------------
 Reporter:  ocean90        |       Owner:  ryan
     Type:  defect (bug)   |      Status:  reopened
 Priority:  high           |   Milestone:  3.1
Component:  Network Admin  |     Version:  3.1
 Severity:  major          |  Resolution:
 Keywords:  has-patch      |
---------------------------+-----------------------
Changes (by scribu):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I forgot that set_current_screen() calls is_network_admin(). This causes a
 notice, which can cause AJAX requests to fail. Spotted by garyc40 in IRC.

 [attachment:15903.diff] fixes it.

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


More information about the wp-trac mailing list