[wp-trac] [WordPress Trac] #18112: get_admin_users_for_domain doesn't work

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 13 06:40:16 UTC 2012


#18112: get_admin_users_for_domain doesn't work
--------------------------+----------------------
 Reporter:  jakub.tyrcha  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Multisite     |     Version:  3.0
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 It is used nowhere is core, but does work:

 {{{
 print_r( get_admin_users_for_domain() );
 }}}

 AND

 {{{
 print_r( get_admin_users_for_domain( 'wordpress-core', '/' ) );
 }}}

 Both produce:

 {{{
 Array (
 [0] => Array (
     [ID] => 1
     [user_login] => admin
     [user_pass] => $P$BpIsrLsv0o6n3YEMLBe8dW6Xz4FWpp/
 ) )
 }}}

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


More information about the wp-trac mailing list