WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#18112 closed defect (bug) (invalid)

get_admin_users_for_domain doesn't work

Reported by: jakub.tyrcha Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Multisite Keywords:
Focuses: Cc:
PR Number:

Description

This function doesn't seem to work at all.

See http://gsoc.svn.wordpress.org/2011/jakub.tyrcha/test_wpms.php for unit tests

Change History (3)

#1 @jakub.tyrcha
8 years ago

  • Summary changed from get_admin_users_for_domain to get_admin_users_for_domain doesn't work

#2 @nacin
8 years ago

  • Version set to 3.0

#3 @wonderboymusic
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

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/ 
) )
Note: See TracTickets for help on using tickets.